Skip to content

Commit

Permalink
sumo: Fix bug causing RSEs not to be shown when no THETAs were estimated
Browse files Browse the repository at this point in the history
  • Loading branch information
rikardn committed Feb 25, 2019
1 parent 1f1c75c commit 7437507
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion bin/sumo
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ require model;
$ses{$param} = \@values;
}

if(defined $ses{'theta'} and scalar(@{$ses{'theta'}}>0)) {
if (defined $ses{'theta'} and scalar(@{$ses{'theta'}} > 0) or defined $ses{'omega'} and scalar(@{$ses{'omega'}}) > 0 or defined $ses{'sigma'} and scalar(@{$ses{'sigma'}}) > 0) {
foreach my $param ('theta','omega','sigma'){
my $ref = $outobj->get_filtered_values(problem_index => $problems,
subproblem_index => $sub_problems,
Expand Down
3 changes: 3 additions & 0 deletions development/release_notes/release_notes_PsN_next_version.txt
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ Changes and bug fixes from PsN 4.8.0 to x.x.x
- Dots in datasets will always be seen by PsN as zero, which is the same way NM-TRAN handles dots. This will
change the behaviour of transitions in randtest.
- Empty items between commas in data set will be interpreted as zero (this is default NM-TRAN interpretation)
- Code for rplots is behing moved to the new R-package PsNR


___common_options___
Expand Down Expand Up @@ -94,6 +95,8 @@ Changes and bug fixes from PsN 4.8.0 to x.x.x
___sumo___

- New option -parameters to only show parameter estimates
- Fix bug causing RSEs not to be shown if no THETAs were estimated


___mcmp___

Expand Down

0 comments on commit 7437507

Please sign in to comment.