Skip to content

Commit

Permalink
warning fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
filiatra committed Jan 5, 2025
1 parent 1d83fe0 commit 5218479
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gsVisitorLinearElasticity.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class gsVisitorLinearElasticity
public:

gsVisitorLinearElasticity(const gsPde<T> & pde_, gsSparseMatrix<T> * elimMatrix = nullptr)
: pde_ptr(static_cast<const gsBasePde<T>*>(&pde_)),
: dim(0), N_D(0), pde_ptr(static_cast<const gsBasePde<T>*>(&pde_)),
elimMat(elimMatrix)
{}

Expand Down
2 changes: 1 addition & 1 deletion gsVisitorMassElasticity.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class gsVisitorMassElasticity
public:

gsVisitorMassElasticity(gsSparseMatrix<T> * elimMatrix = nullptr) :
elimMat(elimMatrix) {}
dim(0), density(0), N_D(0), assembleMatrix(false), elimMat(elimMatrix) {}

void initialize(const gsBasisRefs<T> & basisRefs,
const index_t patchIndex,
Expand Down
2 changes: 1 addition & 1 deletion gsVisitorMixedLinearElasticity.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class gsVisitorMixedLinearElasticity
{
public:
gsVisitorMixedLinearElasticity(const gsPde<T> & pde_)
: pde_ptr(static_cast<const gsBasePde<T>*>(&pde_)) {}
: dim(0), N_D(0), pde_ptr(static_cast<const gsBasePde<T>*>(&pde_)) {}

void initialize(const gsBasisRefs<T> & basisRefs,
const index_t patchIndex,
Expand Down

0 comments on commit 5218479

Please sign in to comment.