Skip to content

Commit 67a3d1f

Browse files
authored
Vector: add required header (#126)
Closes: #125
1 parent 855ef84 commit 67a3d1f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/helpers/Vector.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#include "Vector.hpp"
2+
#include <cmath>
23

34
Vector2D::Vector2D(double xx, double yy) {
45
x = xx;
@@ -16,4 +17,4 @@ double Vector2D::normalize() {
1617
y /= max;
1718

1819
return max;
19-
}
20+
}

0 commit comments

Comments
 (0)