SciML / FunctionWrappersWrappers.jl

MIT License
10 stars 2 forks source link

Throw a custom error exception #5

Closed ChrisRackauckas closed 1 year ago

ChrisRackauckas commented 1 year ago

I want to add a custom error hint like https://github.com/SciML/SciMLBase.jl/blob/master/src/debug.jl so that a case like this https://discourse.julialang.org/t/error-using-pmap-on-autodiff-ode-solver-inside-turing-model-function/94449/3?u=chrisrackauckas says "please just make this SciMLBase.FullSpecialize"

codecov-commenter commented 1 year ago

Codecov Report

Merging #5 (46f3553) into main (630ccd4) will decrease coverage by 13.34%. The diff coverage is 0.00%.

@@             Coverage Diff             @@
##             main       #5       +/-   ##
===========================================
- Coverage   80.00%   66.66%   -13.34%     
===========================================
  Files           1        1               
  Lines          10       12        +2     
===========================================
  Hits            8        8               
- Misses          2        4        +2     
Impacted Files Coverage Δ
src/FunctionWrappersWrappers.jl 66.66% <0.00%> (-13.34%) :arrow_down:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

chriselrod commented 1 year ago

Should this be moved to SciML?

ChrisRackauckas commented 1 year ago

possibly yeah, we're the only users I think.

chriselrod commented 1 year ago

I apparently forgot to click merge earlier.