Skip to content

Commit 23bc12b

Browse files
committed
boobs
1 parent 91502a2 commit 23bc12b

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/Client/Ranges.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#include "Ranges.hpp"
2-
#include <cmath>
2+
#include <math.h>
33

44
using namespace geode::prelude;
55
using namespace qolmod;
@@ -54,7 +54,7 @@ bool Ranges::getEnable(double value, bool def, bool* inAnyRange)
5454

5555
void Ranges::addRange(qolmod::Range range)
5656
{
57-
if (std::abs<double>(range.min - range.max) <= 0.00005f)
57+
if (fabs(range.min - range.max) <= 0.00005f)
5858
return;
5959

6060
ranges.insert(ranges.begin(), range);
@@ -63,7 +63,7 @@ void Ranges::addRange(qolmod::Range range)
6363

6464
void Ranges::addRange(double min, double max, bool enable)
6565
{
66-
if (std::abs<double>(min - max) <= 0.00005f)
66+
if (fabs(min - max) <= 0.00005f)
6767
return;
6868

6969
ranges.insert(ranges.begin(), qolmod::Range({

0 commit comments

Comments
 (0)