From e467e1475348f46bbf875e5d2a03185edc8a1d1f Mon Sep 17 00:00:00 2001 From: Rikard Nordgren Date: Wed, 31 Oct 2018 15:41:23 +0100 Subject: [PATCH] sir: Fix bug in etas copying --- lib/tool/sir.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/tool/sir.pm b/lib/tool/sir.pm index ac0c8cb31..13f750308 100644 --- a/lib/tool/sir.pm +++ b/lib/tool/sir.pm @@ -973,7 +973,7 @@ sub modelfit_setup $message = "Running iteration ".$self->iteration()." evaluation models"; #Handle $ETAS - my $phi_file = $model->get_phi_file(); + my $phi_file = $model->get_or_set_etas_file(); if (defined $phi_file) { for my $model (@$modelsarr) { my @extra_files; @@ -985,7 +985,6 @@ sub modelfit_setup $model->extra_files(\@extra_files); } } - my $iteration_evaluation = tool::modelfit ->new( %{common_options::restore_options(@common_options::tool_options)}, models => $modelsarr,