Skip to content

Commit

Permalink
Fix iterator tests for v1.11
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
ChrisRackauckas authored Oct 12, 2024
1 parent 6646ccb commit 72d7a07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/integrators/iterator_tests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ end
A = integrator([1.0; 2.0])
B = integrator([1.0; 2.0], idxs = 1:2:5)

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

integrator(A[1], 0.5)
@test A[1] == integrator(0.5)
Expand Down

0 comments on commit 72d7a07

Please sign in to comment.