Skip to content

Commit

Permalink
relaxed par std reduction requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
jtwhite79 committed Oct 28, 2024
1 parent 2501118 commit 8e42622
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/libs/common/config_os.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#define CONFIG_OS_H_


#define PESTPP_VERSION "5.2.13";
#define PESTPP_VERSION "5.2.14";

#if defined(_WIN32) || defined(_WIN64)
#define OS_WIN
Expand Down
9 changes: 6 additions & 3 deletions src/libs/pestpp_common/EnsembleMethodUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3908,11 +3908,14 @@ map<string,int> ParChangeSummarizer::get_npar_per_group_with_excess_std_reductio
{
if (std.second <= 0.0)
{
ss.str("");
/*ss.str("");
ss << "L2PhiHandler: prior std <=0 for par '" << std.first << "': " << std.second;
throw runtime_error(ss.str());
throw runtime_error(ss.str());*/
ratio = 1.0;
}
else {
ratio = pt_std.at(std.first) / std.second;
}
ratio = pt_std.at(std.first) / std.second;
if (!isnormal(ratio) && (ratio != 0.0))
{
ss.str("");
Expand Down

0 comments on commit 8e42622

Please sign in to comment.