Skip to content

Commit 72d7a07

Browse files
Fix iterator tests for v1.11
The idxs save seems to be slightly floating point different from the non-idxs save on v1.11. Not entirely sure why but it seems to be something with the effect system that makes the non-idxs case slightly more optimal in some way.
1 parent 6646ccb commit 72d7a07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/integrators/iterator_tests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ end
6262
A = integrator([1.0; 2.0])
6363
B = integrator([1.0; 2.0], idxs = 1:2:5)
6464

65-
@test minimum([A[i][1:2:5] == B[i] for i in 1:length(A)])
65+
@test minimum([A[i][1:2:5] B[i] for i in 1:length(A)])
6666

6767
integrator(A[1], 0.5)
6868
@test A[1] == integrator(0.5)

0 commit comments

Comments
 (0)