DynareJulia / Dynare.jl

A Julia rewrite of Dynare: solving, simulating and estimating DSGE models.
https://www.dynare.org
Other
95 stars 20 forks source link

Error when running standard stoch_simul() in Julia #39

Closed sousaru closed 1 year ago

sousaru commented 1 year ago

Hi,

I am facing an error when requesting a stoch_simul in Julia for a standard small-dimension NK model:

"ERROR: LoadError: MethodError: no method matching get_power_deriv(::Float64, ::Int64, ::Int64)"

ts_nk_model_mod.txt ts_nk_model.txt

The dynare code works in matlab, so I don't see a reason why it should not work in Julia.

Attached you can find the .mod and .jl files (in txt format).

Thanks for transitioning from Matlab!

MichelJuillard commented 1 year ago

Can you please provide us with the full log? What is your operating system? Can you confirm the version of the package Dynare.jl that is installed on your computer ?

sousaru commented 1 year ago

Windows 64-bit operating system, x64-based processor. Dynare v0.6.3.

Full log:

ts_nk_model_log.txt

MichelJuillard commented 1 year ago

Thanks for the report. It points to an error in the definition of get_power_deriv(). I will fix it in a new release tomorrow. If you are in a hurry, you can just remove the types in the function argument list.

sousaru commented 1 year ago

Not at all; just hoping to help on the transition.