mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
use c++ casts
This commit is contained in:
parent
9ed93eeecc
commit
e108e4b8c1
@ -319,7 +319,7 @@ private:
|
|||||||
}
|
}
|
||||||
|
|
||||||
HYPRE_IJMatrixAssemble(A_hypre_);
|
HYPRE_IJMatrixAssemble(A_hypre_);
|
||||||
HYPRE_IJMatrixGetObject(A_hypre_, (void**)&parcsr_A_);
|
HYPRE_IJMatrixGetObject(A_hypre_, reinterpret_cast<void**>(&parcsr_A_));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -350,8 +350,8 @@ private:
|
|||||||
|
|
||||||
HYPRE_IJVectorAssemble(x_hypre_);
|
HYPRE_IJVectorAssemble(x_hypre_);
|
||||||
HYPRE_IJVectorAssemble(b_hypre_);
|
HYPRE_IJVectorAssemble(b_hypre_);
|
||||||
HYPRE_IJVectorGetObject(x_hypre_, (void**)&par_x_);
|
HYPRE_IJVectorGetObject(x_hypre_, reinterpret_cast<void**>(&par_x_));
|
||||||
HYPRE_IJVectorGetObject(b_hypre_, (void**)&par_b_);
|
HYPRE_IJVectorGetObject(b_hypre_, reinterpret_cast<void**>(&par_b_));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user