Skip to content

Commit

Permalink
no direct solver for riccati
Browse files Browse the repository at this point in the history
  • Loading branch information
thorek1 committed Sep 24, 2023
1 parent cf9a64f commit e01b0ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/MacroModelling.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3608,7 +3608,7 @@ riccati_AD = ID.ImplicitFunction(riccati_forward, riccati_conditions) # doesnt c


function calculate_first_order_solution(∇₁::Matrix{S}; T::timings, explosive::Bool = false)::Tuple{Matrix{S},Bool} where S <: Real
A, solved = riccati_AD_direct(∇₁; T = T, explosive = explosive)
A, solved = riccati_AD(∇₁; T = T, explosive = explosive)

if !solved
return hcat(A, zeros(size(A,1),T.nExo)), solved
Expand Down
2 changes: 1 addition & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2134,6 +2134,6 @@ end
end
GC.gc()

if !test_higher_order #don't test estimation if you are testing higher order
if !test_higher_order # don't test estimation if you are testing higher order
include("test_estimation.jl")
end

0 comments on commit e01b0ce

Please sign in to comment.