Skip to content
This repository has been archived by the owner on Feb 6, 2024. It is now read-only.

Commit

Permalink
fix a bug with new L-BFGS-B when optimizing state frequencies
Browse files Browse the repository at this point in the history
  • Loading branch information
bqminh committed Aug 26, 2015
1 parent 92d1eeb commit 96871dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion model/modelgtr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 96871dc

Please sign in to comment.