From 6bacca6a297f00d9e0ccc5d03d11cca4128a6fd2 Mon Sep 17 00:00:00 2001 From: Graham Stark Date: Thu, 31 Aug 2023 13:32:01 +0100 Subject: [PATCH] quick hack for examples indirect --- src/ExampleHouseholdGetter.jl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ExampleHouseholdGetter.jl b/src/ExampleHouseholdGetter.jl index b8c5a9e7..4d5380cb 100644 --- a/src/ExampleHouseholdGetter.jl +++ b/src/ExampleHouseholdGetter.jl @@ -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