Skip to content

Commit

Permalink
quick hack for examples indirect
Browse files Browse the repository at this point in the history
  • Loading branch information
grahamstark committed Aug 31, 2023
1 parent b2ffbf6 commit 6bacca6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/ExampleHouseholdGetter.jl
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@ function find_consumption_for_example!( hh, settings )
sv_data_year = hh.data_year
hh.hid = 1
hh.data_year = 2021
println( "finding consumption for $sv_hid $sv_data_year")
find_consumption_for_hh!( hh, settings, 1 )
@assert ! isnothing( hh.factor_costs )
@assert ! isnothing( hh.expenditure )
hh.hid = sv_hid
hh.data_year = sv_data_year
end
Expand Down

0 comments on commit 6bacca6

Please sign in to comment.