Skip to content

Commit

Permalink
Fix eta assignment position in set_status method of WeightOptimizerCo…
Browse files Browse the repository at this point in the history
…mmonProperties
  • Loading branch information
JesusEV committed Dec 12, 2024
1 parent 4eca767 commit 3a1c2c9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions models/weight_optimizer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,9 @@ WeightOptimizerCommonProperties::set_status( const DictionaryDatum& d )
eta_first_ = new_eta;
}
n_eta_change_ += 1;
eta_ = new_eta;
}

eta_ = new_eta;

double new_Wmin = Wmin_;
double new_Wmax = Wmax_;
updateValue< double >( d, names::Wmin, new_Wmin );
Expand Down

0 comments on commit 3a1c2c9

Please sign in to comment.