mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
remove some usage of this->
This commit is contained in:
parent
a649bef271
commit
ccd014cc1a
@ -58,7 +58,7 @@ public:
|
|||||||
*/
|
*/
|
||||||
void project(X& x) const
|
void project(X& x) const
|
||||||
{
|
{
|
||||||
std::call_once(this->m_initializedIndices, [&]() { initIndexSet(); });
|
std::call_once(m_initializedIndices, [&]() { initIndexSet(); });
|
||||||
x.setZeroAtIndexSet(*m_indicesCopy);
|
x.setZeroAtIndexSet(*m_indicesCopy);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -86,7 +86,7 @@ public:
|
|||||||
field_type norm(const X& x) const
|
field_type norm(const X& x) const
|
||||||
{
|
{
|
||||||
auto xDotX = field_type(0);
|
auto xDotX = field_type(0);
|
||||||
this->dot(x, x, xDotX);
|
dot(x, x, xDotX);
|
||||||
|
|
||||||
// using std::sqrt;
|
// using std::sqrt;
|
||||||
return std::sqrt(xDotX);
|
return std::sqrt(xDotX);
|
||||||
|
Loading…
Reference in New Issue
Block a user