Skip to content
Snippets Groups Projects
Commit 09c8b4ac authored by Patrick Jaap's avatar Patrick Jaap
Browse files

SymmetricMatrix: remove a "const"

parent 2bea0b60
Branches
No related tags found
1 merge request!47Make symmetrixMatrix isometric
Pipeline #16283 passed
...@@ -93,7 +93,7 @@ public: ...@@ -93,7 +93,7 @@ public:
* \param j column index * \param j column index
* The off-diagonal entries are scaled by 1/sqrt(2) to ensure isometry * The off-diagonal entries are scaled by 1/sqrt(2) to ensure isometry
*/ */
const T operator() (int i, int j) const T operator() (int i, int j) const
{ {
if( i > j ) if( i > j )
return 1./std::sqrt(2.) * data_[i*(i+1)/2+j]; return 1./std::sqrt(2.) * data_[i*(i+1)/2+j];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment