Skip to content

Commit

Permalink
removed precompile SeisForwExpt
Browse files Browse the repository at this point in the history
  • Loading branch information
pawbz committed Oct 3, 2024
1 parent 12b0aa6 commit 04ce988
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/GeoPhyInv.jl
Original file line number Diff line number Diff line change
Expand Up @@ -204,14 +204,14 @@ include("plots.jl")


# ============= Precompile =================================
@setup_workload begin
# @setup_workload begin
# Putting some things in `@setup_workload` instead of `@compile_workload` can reduce the size of the
# precompile file and potentially make loading faster.
pa_test = SeisForwExpt(FdtdAcoustic{FullWave}(:forward, 1), RandScatterer())
@compile_workload begin
update!(pa_test);
end
end
# pa_test = SeisForwExpt(FdtdAcoustic{FullWave}(:forward, 1), RandScatterer())
# @compile_workload begin
# update!(pa_test);
# end
# end


end # module GeoPhyInv
Expand Down

0 comments on commit 04ce988

Please sign in to comment.