Skip to content

Commit

Permalink
Fix bug in test that caused a test failure on Julia 1.5.
Browse files Browse the repository at this point in the history
  • Loading branch information
tkoolen committed Feb 2, 2021
1 parent e09fac6 commit be68984
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_mechanism_algorithms.jl
Original file line number Diff line number Diff line change
Expand Up @@ -690,7 +690,7 @@ end
= configuration_derivative(x)
v = velocity(x)
= similar(velocity(x))
rand(v̇)
rand!(v̇)

# momentum computed two ways
@test isapprox(Momentum(momentum_matrix(x), v), momentum(x))
Expand Down

0 comments on commit be68984

Please sign in to comment.