Skip to content

Commit

Permalink
fix calc testthing log formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
poco0317 committed Sep 1, 2021
1 parent da3f1ff commit 7ca9add
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Etterna/Models/StepsAndStyles/Steps.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ Steps::DoATestThing(float ev, Skillset ss, float rate, Calc* calc) -> float
if (vh.count(prev_vers) != 0U) {
last_msd = vh.at(prev_vers);
}
Locator::getLogger()->trace("%{:+.2f} : %{:+.2f} : %{:+.2f} : ({:+06.2f}%%) : %{:+.2f} : {}",
Locator::getLogger()->trace("{:+.2f} : {:+.2f} : {:+.2f} : ({:+06.2f}%) : {:+.2f} : {}",
newcalc[ss],
rate,
newcalc[ss] - ev,
Expand Down
2 changes: 1 addition & 1 deletion src/Etterna/Singletons/SongManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ SongManager::CalcTestStuff()
{
if (!test_vals[ss].empty()) {
Locator::getLogger()->trace(
"%{:+0.2f} avg delta for test group {}",
"{:+0.2f} avg delta for test group {}",
std::accumulate(begin(test_vals[ss]), end(test_vals[ss]), 0.F) /
test_vals[ss].size(),
SkillsetToString(ss).c_str());
Expand Down

0 comments on commit 7ca9add

Please sign in to comment.