Skip to content

Commit

Permalink
sir: Fix bug in etas copying
Browse files Browse the repository at this point in the history
  • Loading branch information
rikardn committed Oct 31, 2018
1 parent 537a672 commit e467e14
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/tool/sir.pm
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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,
Expand Down

0 comments on commit e467e14

Please sign in to comment.