diff --git a/test/create_scc_validation_file.jl b/test/create_scc_validation_file.jl index 1ad4788..06b7c80 100644 --- a/test/create_scc_validation_file.jl +++ b/test/create_scc_validation_file.jl @@ -58,10 +58,10 @@ filter!(:gas => x -> (x == "CO2" || x == "CH4"), new_sc) # a tolerance of 1.0e-1 for pulse_size of 1 and 1e-9 for pulse_size of 1.0e7, so # we mirror that here -old_sc_bigpulse = filter!(:pulse_size => x -> x == 1.0e7, old_sc) -new_sc_bigpulse = filter!(:pulse_size => x -> x == 1.0e7, new_sc) +old_sc_bigpulse = filter(:pulse_size => x -> x == 1.0e7, old_sc) +new_sc_bigpulse = filter(:pulse_size => x -> x == 1.0e7, new_sc) @test all(isapprox.(old_sc_bigpulse[!, :SC], new_sc_bigpulse[!, :SC], atol = 1e-9)) -old_sc_smallpulse = filter!(:pulse_size => x -> x == 1.0e7, old_sc) -new_sc_smallpulse = filter!(:pulse_size => x -> x == 1.0e7, new_sc) +old_sc_smallpulse = filter(:pulse_size => x -> x == 1.0e7, old_sc) +new_sc_smallpulse = filter(:pulse_size => x -> x == 1.0e7, new_sc) @test all(isapprox.(old_sc_smallpulse[!, :SC], new_sc_smallpulse[!, :SC], atol = 1e-1))