aboutsummaryrefslogtreecommitdiff
path: root/templates/zmodn-2.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--templates/zmodn-2.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/templates/zmodn-2.cpp b/templates/zmodn-2.cpp
index f96ef8c..d71f2ac 100644
--- a/templates/zmodn-2.cpp
+++ b/templates/zmodn-2.cpp
@@ -15,7 +15,6 @@ public:
15 int value; 15 int value;
16 16
17 Zmod(int z) : value{(z%N + N) % N} {} 17 Zmod(int z) : value{(z%N + N) % N} {}
18 int toint() const { return value; }
19 18
20 Zmod operator+(const Zmod& z) const { return value + z.value; } 19 Zmod operator+(const Zmod& z) const { return value + z.value; }
21 Zmod operator-(const Zmod& z) const { return value - z.value; } 20 Zmod operator-(const Zmod& z) const { return value - z.value; }

Generated with cgit - Back to sebastiano.tronto.net