Skip to content

Commit

Permalink
The settings for estimation restart are updated according to Hector's…
Browse files Browse the repository at this point in the history
… request
  • Loading branch information
thomaskf committed Apr 2, 2024
1 parent d6d9fcb commit 40f0b7d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions utils/tools.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1219,9 +1219,9 @@ void parseArg(int argc, char *argv[], Params &params) {
// defaults for new options -JD
params.optimize_linked_gtr = false;
params.gtr20_model = "POISSON";
params.guess_multiplier = 0.5;
params.guess_multiplier = 0.75; // change from 0.5
// params.rates_file = false;
params.reset_method = "const";
params.reset_method = "random"; // change from const

params.optimize_params_use_hmm = false;
params.optimize_params_use_hmm_sm = false;
Expand Down Expand Up @@ -1676,6 +1676,7 @@ void parseArg(int argc, char *argv[], Params &params) {
//new options added -JD
if (strcmp(argv[cnt], "--link-exchange-rates") == 0) {
params.optimize_linked_gtr = true;
params.reset_method = "const";
continue;
}
if (strcmp(argv[cnt], "--gtr20-model") == 0) {
Expand Down

0 comments on commit 40f0b7d

Please sign in to comment.