Skip to content
Snippets Groups Projects
Commit b72ce6e1 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

Merge branch 'master' of https://gitlab.onelab.info/gmsh/gmsh

parents 10f064db 387bc17d
Branches
Tags
No related merge requests found
...@@ -52,6 +52,11 @@ class STensor33 { ...@@ -52,6 +52,11 @@ class STensor33 {
for (int i = 0; i < 27; i++) res._val[i] += other._val[i]; for (int i = 0; i < 27; i++) res._val[i] += other._val[i];
return res; 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) STensor33& operator += (const STensor33 &other)
{ {
for (int i = 0; i < 27; i++) _val[i] += other._val[i]; for (int i = 0; i < 27; i++) _val[i] += other._val[i];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment