Skip to content

Commit

Permalink
Fix import error
Browse files Browse the repository at this point in the history
  • Loading branch information
Johannes Nägele committed Oct 12, 2023
1 parent 6f1d15c commit aca443e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/CombineModels.jl
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import Base: +

function +(model1::Model, model2::Model)
undetermined = findall(in(model2.endogenous_variables), model1.endogenous_variables)
@assert isempty(undetermined) "The endogenous variables $(model1[undetermined]) appear twice"
Expand Down

0 comments on commit aca443e

Please sign in to comment.