Skip to content

Commit aa0ab4c

Browse files
TorkelEisaacsas
andauthored
Update ext/CatalystHomotopyContinuationExtension/homotopy_continuation_extension.jl
Co-authored-by: Sam Isaacson <[email protected]>
1 parent 996ade5 commit aa0ab4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/CatalystHomotopyContinuationExtension/homotopy_continuation_extension.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,5 +120,5 @@ function filter_negative_f(sols; neg_thres=-1e-20)
120120
for sol in sols, idx in 1:length(sol)
121121
(neg_thres < sol[idx] < 0) && (sol[idx] = 0)
122122
end
123-
return filter(sol -> all(>=(0.0), sol), sols)
123+
return filter(sol -> all(>=(0), sol), sols)
124124
end

0 commit comments

Comments
 (0)