Commit c0ed83d4 authored by Quentin Khan's avatar Quentin Khan

Removal of const qualifier on a few functions' results that were ignored by...

Removal of const qualifier on a few functions' results that were ignored by the compiler : a function result cannot be const (though it can be a pointer to a const)
parent d36b1758
......@@ -170,7 +170,7 @@ public:
}
const SymmetryHandlerClass *const getPtrToSymHandler() const
const SymmetryHandlerClass * getPtrToSymHandler() const
{ return SymHandler.getPtr(); }
......
......@@ -576,11 +576,11 @@ public:
/*! return the t-th approximated far-field interactions*/
const FReal *const getK(const int, const unsigned int t) const
const FReal * getK(const int, const unsigned int t) const
{ return K[t]; }
/*! return the t-th approximated far-field interactions*/
const int getLowRank(const int, const unsigned int t) const
int getLowRank(const int, const unsigned int t) const
{ return LowRank[t]; }
};
......@@ -668,11 +668,11 @@ public:
}
/*! return the t-th approximated far-field interactions*/
const FReal *const getK(const int l, const unsigned int t) const
const FReal * getK(const int l, const unsigned int t) const
{ return K[l][t]; }
/*! return the t-th approximated far-field interactions*/
const int getLowRank(const int l, const unsigned int t) const
int getLowRank(const int l, const unsigned int t) const
{ return LowRank[l][t]; }
};
......
......@@ -116,7 +116,7 @@ public:
}
}
const int getNVALS() const {
int getNVALS() const {
return NVALS;
}
......
......@@ -92,7 +92,7 @@ public:
return local_exp;
}
const int getArraySize() const
int getArraySize() const
{
return MultipoleSize;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment