Skip to content

Commit

Permalink
Change std::powf to std::pow
Browse files Browse the repository at this point in the history
  • Loading branch information
regulus79 committed Feb 21, 2025
1 parent 3fdd8ab commit 0075af8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/editors/PianoRoll.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2928,7 +2928,7 @@ void PianoRoll::updateStrumPos(QMouseEvent* me, bool initial, bool warp)

if (warp)
{
ratio = std::powf(ratio, strumPower);
ratio = std::pow(ratio, strumPower);
}
note->setPos(note->oldPos() + ratio * strumTicksHorizontal);
i++;
Expand Down

0 comments on commit 0075af8

Please sign in to comment.