Skip to content
Snippets Groups Projects
Commit b6fe7564 authored by Oliver Sander's avatar Oliver Sander
Browse files

don't redefine DOUBLE_VECTOR

[[Imported from SVN: r4389]]
parent c84e8314
Branches
Tags
No related merge requests found
......@@ -394,7 +394,7 @@ namespace Dune {
*/
static int Transformation(int n, double** x,
const FieldVector<double, 2>& local, FieldMatrix<double,2,2>& mat) {
typedef DOUBLE DOUBLE_VECTOR[2];
using UG2d::DOUBLE_VECTOR;
double det;
INVERSE_TRANSFORMATION(n, x, local, mat, det);
return 0;
......
......@@ -425,11 +425,11 @@ namespace Dune {
* \param local Local evaluation point
*
* \return The return type is int because the macro INVERSE_TRANSFORMATION
* return 1 on failure.
* returns 1 on failure.
*/
static int Transformation(int n, double** x,
const FieldVector<double, 3>& local, FieldMatrix<double,3,3>& mat) {
typedef DOUBLE DOUBLE_VECTOR[3];
using UG3d::DOUBLE_VECTOR;
double det;
INVERSE_TRANSFORMATION(n, x, local, mat, det);
return 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment