Add an overload suited to pointer arguments (primitive types).

This commit is contained in:
Bård Skaflestad 2011-10-05 19:54:12 +02:00
parent 4f488a08e7
commit 01eb7a2214

View File

@ -42,6 +42,16 @@ namespace Opm {
namespace ImplicitTransportLinAlgSupport {
class CSRMatrixUmfpackSolver {
public:
template <class Vector>
void
solve(const struct CSRMatrix* A,
const Vector b,
Vector x) {
call_UMFPACK(const_cast<CSRMatrix*>(A),
b, x);
}
template <class Vector>
void
solve(const struct CSRMatrix& A,