Commit 02eeaa34 authored by Frédéric Karamé's avatar Frédéric Karamé

Cosmetic changes.

parent 7667d392
......@@ -447,7 +447,7 @@ Compiles a mod file (`modfile` is a string for the name of the mod files with or
```julia-repl
julia> @compile "test1"
```
Compiles `test1.mod` with default options..
Compiles `test1.mod` with default options.
"""
macro compile(modfile::AbstractString)
options = PreprocessorOptions()
......
......@@ -52,7 +52,7 @@ end
function steady(model::Model, oo::Output, yinit::Vector{Float64})
T = zeros(Float64, sum(model.temporaries.static[1:2]))
f!(fval::Vector{Float64}, y::Vector{Float64}) = model.static(T, fval, y , oo.exo_steady_state, model.params)
j!(fjac::Matrix{Float64}, y::Vector{Float64}) = model.static(T, fjac, y, oo.exo_steady_state, model.params)
j!(fjac::Matrix{Float64}, y::Vector{Float64}) = model.static(T, fjac, y , oo.exo_steady_state, model.params)
ys, info = trustregion(f!, j!, yinit, 1.0e-6, 1.0e-6, 100)
return ys, info
end
......@@ -60,7 +60,7 @@ end
function steady!(model::Model, oo::Output, yinit::Vector{Float64})
T = zeros(Float64, sum(model.temporaries.static[1:2]))
f!(fval::Vector{Float64}, y::Vector{Float64}) = model.static(T, fval, y , oo.exo_steady_state, model.params)
j!(fjac::Matrix{Float64}, y::Vector{Float64}) = model.static(T, fjac, y, oo.exo_steady_state, model.params)
j!(fjac::Matrix{Float64}, y::Vector{Float64}) = model.static(T, fjac, y , oo.exo_steady_state, model.params)
oo.steady_state, info = trustregion(f!, j!, yinit, 1.0e-6, 1.0e-6, 100)
end
......
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