Commit 5805e6b0 authored by Michel Juillard's avatar Michel Juillard
Browse files

fixing simulation

parent e8c681af
......@@ -28,7 +28,7 @@ uuid = "8ba89e20-285c-5b6f-9357-94700520ee1b"
[[FastLapackInterface]]
deps = ["LinearAlgebra"]
git-tree-sha1 = "7e5ea6ccb6382088c4dfda745af75b3bc01a4bee"
git-tree-sha1 = "cad700dc8cbbe2fe512fa73eb7036787285c6349"
repo-rev = "master"
repo-url = "https://git.dynare.org/julia-packages/fastlapackinterface.jl.git"
uuid = "29a986be-02c6-4525-aec4-84b980013641"
......
......@@ -7,6 +7,6 @@ function simul_first_order!(results, initial_values, x, c, A, B, periods)
e = view(x, t, :)
mul!(r, B, e)
mul!(r, A, y_1, 1.0, 1.0)
r .= c
r .+= c
end
end
......@@ -200,7 +200,7 @@ end
function make_A_B!(A, B, model, results)
vA = view(A, :, model.i_bkwrd_b)
vA .= results.linearrationalexpectations.g1_1
B = results.linearrationalexpectations.g1_2
B .= results.linearrationalexpectations.g1_2
end
function stoch_simul!(context, field)
......
DYNARE_BINARY = "/data/projects/dynare/git/preprocessor/src/dynare_m"
DYNARE_BINARY = "/home/michel/projects/dynare/git/preprocessor/src/dynare_m"
function dynare_preprocess(modfilename, args)
dynare_args = [basename(modfilename), "language=julia", "output=third", "json=compute"]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment