From 3a2be1d7a40712accca4b3172f343ae558563dfb Mon Sep 17 00:00:00 2001 From: sjdaines Date: Thu, 28 Nov 2024 08:35:13 +0000 Subject: [PATCH] Fix LinearInterpolation depwarns --- examples/COPSE/compare_output.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/COPSE/compare_output.jl b/examples/COPSE/compare_output.jl index 1b4d4d3..a1820bc 100644 --- a/examples/COPSE/compare_output.jl +++ b/examples/COPSE/compare_output.jl @@ -319,7 +319,7 @@ function compare_copse_output(output, comparison) firstoutputpoint += 1 end firstoutputpoint == 1 || println(" starting at output index $firstoutputpoint to skip identical tmodel values") - interp_out = Interpolations.LinearInterpolation( + interp_out = Interpolations.linear_interpolation( output_tmodel[firstoutputpoint:end], PB.get_total.(PB.get_data(output, outdom*"."*outfield)[firstoutputpoint:end])) out_i = interp_out(comp_tmodel)