diff --git a/build.nr b/build.nr index eb804fd..58d8972 100644 --- a/build.nr +++ b/build.nr @@ -1 +1 @@ -1864 +1866 diff --git a/src/ostd/Defines.hpp b/src/ostd/Defines.hpp index 3743a5d..3b03a70 100755 --- a/src/ostd/Defines.hpp +++ b/src/ostd/Defines.hpp @@ -57,7 +57,7 @@ #define MAX(n1, n2) std::max(n1, n2) #define MIN(n1, n2) std::min(n1, n2) #define PROPORTION(w, x, y) ((x * w) / y) -#define CONVERT_1D_2D(i, width) IPoint(i % width, i / width) +#define CONVERT_1D_2D(i, width) ostd::IPoint(i % width, i / width) #define CONVERT_2D_1D(x, y, width) (x + width * y) #define PRINT(data) std::cout << data #define PRINTLN(data) std::cout << data << "\n"