Skip to content

Commit

Permalink
SmoothedValue: Remove approximately equal
Browse files Browse the repository at this point in the history
  • Loading branch information
Anthony-Nicholls committed Aug 17, 2023
1 parent 2bb530f commit 03b86ce
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions modules/juce_audio_basics/utilities/juce_SmoothedValue.h
Expand Up @@ -271,9 +271,6 @@ class SmoothedValue : public SmoothedValueBase <SmoothedValue <FloatType, Smoo
*/
void setTargetValue (FloatType newValue) noexcept
{
if (approximatelyEqual (newValue, this->target))
return;

if (stepsToTarget <= 0)
{
this->setCurrentAndTargetValue (newValue);
Expand Down

0 comments on commit 03b86ce

Please sign in to comment.