Fix abc test value
This commit is contained in:
parent
c88898a502
commit
cc05cae1cd
@ -81,7 +81,7 @@ Return the square of the particle's momentum as a `Float` value.
|
||||
Takes 7 effective FLOP.
|
||||
"""
|
||||
function square(p::Particle)
|
||||
return getMass(p.momentum)
|
||||
return getMass2(p.momentum)
|
||||
end
|
||||
|
||||
"""
|
||||
|
@ -21,7 +21,7 @@ include("../examples/profiling_utilities.jl")
|
||||
],
|
||||
))
|
||||
|
||||
expected_result = 7.594784103424603e-5
|
||||
expected_result = 5.5320505145845555e-5
|
||||
|
||||
@testset "AB->AB no optimization" begin
|
||||
for _ in 1:10 # test in a loop because graph layout should not change the result
|
||||
|
Loading…
x
Reference in New Issue
Block a user