Skip to content
Snippets Groups Projects
Commit 4b6e7694 authored by Gauthier Becker's avatar Gauthier Becker
Browse files

STensor3::trace() return the trace and not trace/3

parent 6eb9d813
Branches
Tags
No related merge requests found
...@@ -283,7 +283,7 @@ class STensor3 { ...@@ -283,7 +283,7 @@ class STensor3 {
} }
double trace() const double trace() const
{ {
return ((_val[0]+_val[4]+_val[8])/3.); return ((_val[0]+_val[4]+_val[8]));
} }
double dotprod() const double dotprod() const
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment