You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's a codegen(::Sym) method that does the heavy lifting. This breaks:
julia>codegen(m(),truth)
ERROR: MethodError: no method matching Normal(::SymPy.Sym, ::SymPy.Sym)
The applicable method may be too new: running in world age 26973, while current world is 27213.
It's very strange that the first works but the second doesn't.
@thautwarm I'm pretty stuck on this one, do you have any idea what might be going on here? All relevant code is in master.
The text was updated successfully, but these errors were encountered:
The way SymPy is set up requires loading some code within an
__init__()
. Here's a simplified version of what I have:For a given model,
symlogpdf
is a GG function that uses SymPy to find itslogpdf
. Somewhat surprisingly, it works just fine:The next GG function,
codegen
, builds code that includes a call tosymlogpdf
. The code isn't anything too unusual:There's a
codegen(::Sym)
method that does the heavy lifting. This breaks:It's very strange that the first works but the second doesn't.
@thautwarm I'm pretty stuck on this one, do you have any idea what might be going on here? All relevant code is in master.
The text was updated successfully, but these errors were encountered: