Skip to content

Commit 244ec25

Browse files
committed
Merge pull request #36 from memmett/feature/fix-interp
Fix interpolation matrix.
2 parents b38f995 + 777fd25 commit 244ec25

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

include/pfasst/quadrature.hpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,9 @@ namespace pfasst
281281

282282
if (abs(num) > 1e-32) {
283283
mat(i, j) = num / den;
284-
}
284+
} else {
285+
mat(i, j) = 0.0;
286+
}
285287
}
286288
}
287289

0 commit comments

Comments
 (0)