From 75c7da57444fb77facba3508728de6362bc87b6f Mon Sep 17 00:00:00 2001 From: Rikard Nordgren Date: Fri, 5 Jan 2024 14:50:55 +0100 Subject: [PATCH] Fix type of prob2 argument in frem --- lib/tool/frem.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tool/frem.pm b/lib/tool/frem.pm index f263f0d6..e86ca102 100644 --- a/lib/tool/frem.pm +++ b/lib/tool/frem.pm @@ -1906,7 +1906,7 @@ sub prepare_model4 est_records => { isa => 'ArrayRef', optional => 0}, cov_records => { isa => 'ArrayRef', optional => 0}, update_existing_model_files => { isa => 'Bool', optional => 0 }, - prob2 => { isa => 'model::problem', optional => 0 }, + prob2 => { isa => 'Maybe[model::problem]', optional => 1 }, ); my $model2 = $parm{'model2'}; my $model3 = $parm{'model3'};