From 96871dcf0f3e00741667dd1375428d900a479c53 Mon Sep 17 00:00:00 2001 From: minh Date: Wed, 26 Aug 2015 21:25:31 +0200 Subject: [PATCH] fix a bug with new L-BFGS-B when optimizing state frequencies --- model/modelgtr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model/modelgtr.cpp b/model/modelgtr.cpp index 9eee849a..b55e20a4 100644 --- a/model/modelgtr.cpp +++ b/model/modelgtr.cpp @@ -455,7 +455,7 @@ void ModelGTR::setBounds(double *lower_bound, double *upper_bound, bool *bound_c for (i = ndim-num_states+2; i <= ndim; i++) { // lower_bound[i] = MIN_FREQUENCY/state_freq[highest_freq_state]; // upper_bound[i] = state_freq[highest_freq_state]/MIN_FREQUENCY; - lower_bound[i] = 0.001; + lower_bound[i] = MIN_FREQUENCY; upper_bound[i] = 100.0; bound_check[i] = false; }