diff --git a/FunctionSpace/LineNodeBasis.cpp b/FunctionSpace/LineNodeBasis.cpp index 24bed9e3cfe45ebfb1c16f1abe84061235df2f06..94e3afcea41e045a15aecb3f4f5f3eb256a35d0d 100644 --- a/FunctionSpace/LineNodeBasis.cpp +++ b/FunctionSpace/LineNodeBasis.cpp @@ -36,13 +36,13 @@ LineNodeBasis::LineNodeBasis(int order){ // Vertex Based (Lagrange) // (*node)[0] = - new Polynomial(Polynomial(1, 0, 0, 0) - - Polynomial(1, 1, 0, 0) * + new Polynomial((Polynomial(1, 0, 0, 0) - + Polynomial(1, 1, 0, 0)) * 0.5); - + (*node)[1] = - new Polynomial(Polynomial(1, 0, 0, 0) + - Polynomial(1, 1, 0, 0) * + new Polynomial((Polynomial(1, 0, 0, 0) + + Polynomial(1, 1, 0, 0)) * 0.5);