Skip to content
Snippets Groups Projects
Commit 5ee29485 authored by Nicolas Marsic's avatar Nicolas Marsic
Browse files

Bug Fix: Grad/Curl/DivBasis -- order decreases from 1

parent f4b8f694
No related branches found
No related tags found
No related merge requests found
......@@ -4,7 +4,7 @@ using namespace std;
CurlBasis::CurlBasis(const BasisVector& other){
// Set Basis Type //
order = other.getOrder();
order = other.getOrder() - 1;
type = other.getType();
dim = other.getDim();
......
......@@ -4,7 +4,7 @@ using namespace std;
DivBasis::DivBasis(const BasisVector& other){
// Set Basis Type //
order = other.getOrder();
order = other.getOrder() - 1;
type = other.getType();
dim = other.getDim();
......
......@@ -4,7 +4,7 @@ using namespace std;
GradBasis::GradBasis(const BasisScalar& other){
// Set Basis Type //
order = other.getOrder();
order = other.getOrder() - 1;
type = other.getType();
dim = other.getDim();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment