Skip to content

Commit

Permalink
Attempt to fix Stokhos issue
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Glusa <[email protected]>
  • Loading branch information
cgcgcg committed Aug 29, 2024
1 parent 6ed8278 commit a499641
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ class SignedClassicalSADropFunctor {
auto aij2 = ATS::magnitude(val) * ATS::magnitude(val); // |a_ij|^2
// + |a_ij|^2, if a_ij < 0, - |a_ij|^2 if a_ij >=0
if (is_nonpositive)
aij2 = -aij2;
aij2 *= -1;
results(offset + k) = Kokkos::max((aij2 <= eps * eps * aiiajj) ? DROP : KEEP,
results(offset + k));
}
Expand Down

0 comments on commit a499641

Please sign in to comment.