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
Copy file name to clipboardExpand all lines: src/MacroModelling.jl
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -4071,7 +4071,7 @@ function solve_steady_state!(𝓂::ℳ, symbolic_SS, Symbolics::symbolics; verbo
4071
4071
eqs =hcat(Q, R̂)'
4072
4072
4073
4073
# @assert all(eqs[1,:] .> 0) "Could not solve system of steady state and calibration equations for: " * repr([collect(Symbol.(unknowns))[vars[1,eqs[1,:] .< 0]]...]) # repr([vcat(Symbolics.ss_equations,Symbolics.calibration_equations)[-eqs[1,eqs[1,:].<0]]...])
4074
-
@assertall(eqs[1,:] .>0) "Could not solve system of steady state and calibration equations. Number of redundant euqations: "*repr(sum(eqs[1,:] .<0)) *". Try defining some steady state values as parameters (e.g. r[ss] -> r̄). Nonstationary variables are not supported as of now."# repr([vcat(Symbolics.ss_equations,Symbolics.calibration_equations)[-eqs[1,eqs[1,:].<0]]...])
4074
+
@assertall(eqs[1,:] .>0) "Could not solve system of steady state and calibration equations. Number of redundant equations: "*repr(sum(eqs[1,:] .<0)) *". Try defining some steady state values as parameters (e.g. r[ss] -> r̄). Nonstationary variables are not supported as of now."# repr([vcat(Symbolics.ss_equations,Symbolics.calibration_equations)[-eqs[1,eqs[1,:].<0]]...])
4075
4075
4076
4076
n = n_blocks
4077
4077
@@ -4490,7 +4490,7 @@ function solve_steady_state!(𝓂::ℳ;
4490
4490
vars =hcat(P, R̂)'
4491
4491
eqs =hcat(Q, R̂)'
4492
4492
# @assert all(eqs[1,:] .> 0) "Could not solve system of steady state and calibration equations for: " * repr([collect(Symbol.(unknowns))[vars[1,eqs[1,:] .< 0]]...]) # repr([vcat(𝓂.ss_equations,𝓂.calibration_equations)[-eqs[1,eqs[1,:].<0]]...])
4493
-
@assertall(eqs[1,:] .>0) "Could not solve system of steady state and calibration equations. Number of redundant euqations: "*repr(sum(eqs[1,:] .<0)) *". Try defining some steady state values as parameters (e.g. r[ss] -> r̄). Nonstationary variables are not supported as of now."# repr([vcat(𝓂.ss_equations,𝓂.calibration_equations)[-eqs[1,eqs[1,:].<0]]...])
4493
+
@assertall(eqs[1,:] .>0) "Could not solve system of steady state and calibration equations. Number of redundant equations: "*repr(sum(eqs[1,:] .<0)) *". Try defining some steady state values as parameters (e.g. r[ss] -> r̄). Nonstationary variables are not supported as of now."# repr([vcat(𝓂.ss_equations,𝓂.calibration_equations)[-eqs[1,eqs[1,:].<0]]...])
0 commit comments