diff --git a/Solver/STensor33.h b/Solver/STensor33.h index bd01bdf8ad58b568d36699a080698064da2372c5..3ca9506a6e4da8df7a651d17b96ad72c45ef9a15 100644 --- a/Solver/STensor33.h +++ b/Solver/STensor33.h @@ -52,6 +52,11 @@ class STensor33 { for (int i = 0; i < 27; i++) res._val[i] += other._val[i]; return res; } + STensor33& operator = (const STensor33 &other) + { + for (int i = 0; i < 27; i++) _val[i] = other._val[i]; + return *this; + } STensor33& operator += (const STensor33 &other) { for (int i = 0; i < 27; i++) _val[i] += other._val[i];