Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove duplicated methods in BPINN as it causes methods overwrite #788

Merged
merged 1 commit into from
Jan 23, 2024

Conversation

sathvikbhagavan
Copy link
Member

These methods also exist in https://github.com/SciML/NeuralPDE.jl/blob/master/src/PDE_BPINN.jl#L191

Because of this, we get warnings during precompilation.

Precompiling project...
        Info Given NeuralPDE was explicitly requested, output will be shown live 
WARNING: Method definition integratorchoice(Any, Any) in module NeuralPDE at /Users/sathvik/oss/NeuralPDE.jl/src/advancedHMC_MCMC.jl:354 overwritten at /Users/sathvik/oss/NeuralPDE.jl/src/PDE_BPINN.jl:191.
ERROR: Method overwriting is not permitted during Module precompilation. Use `__precompile__(false)` to opt-out of precompilation.
  ? NeuralPDE

cc: @AstitvaAggarwal

@ChrisRackauckas ChrisRackauckas merged commit d8750ac into SciML:master Jan 23, 2024
9 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants