Skip to content

Commit

Permalink
Merge branch 'feature-shared-cmake' of https://github.com/puneetmatha…
Browse files Browse the repository at this point in the history
…ru/oomph-lib into feature-shared-cmake
  • Loading branch information
puneetmatharu committed Nov 21, 2023
2 parents 0270df5 + f55301f commit 4566844
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/generic/eigen_solver.cc
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@ namespace oomph
}

// Clean up the allocated memory
delete[] * z;
delete[] *z;
*z = 0;
delete z;
z = 0;
Expand All @@ -536,7 +536,7 @@ namespace oomph
workd = 0;
delete[] resid;
resid = 0;
delete[] * v;
delete[] *v;
*v = 0;
delete v;
v = 0;
Expand Down
6 changes: 3 additions & 3 deletions src/generic/frontal_solver.cc
Original file line number Diff line number Diff line change
Expand Up @@ -877,7 +877,7 @@ namespace oomph
}

// Free the memory assigned
delete[] * dx;
delete[] *dx;
delete dx;
delete[] last;
}
Expand Down Expand Up @@ -956,9 +956,9 @@ namespace oomph
}

// Delete the allocated storage
delete[] * x;
delete[] *x;
delete x;
delete[] * b;
delete[] *b;
delete b;
}

Expand Down
4 changes: 2 additions & 2 deletions src/generic/refineable_brick_element.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2932,7 +2932,7 @@ namespace oomph
SolidNode* solid_node3_pt = dynamic_cast<SolidNode*>(node_pt(node3));
SolidNode* solid_node4_pt = dynamic_cast<SolidNode*>(node_pt(node4));

//#ifdef PARANOID
// #ifdef PARANOID
if (solid_node1_pt == 0)
{
throw OomphLibError(
Expand Down Expand Up @@ -2965,7 +2965,7 @@ namespace oomph
OOMPH_EXCEPTION_LOCATION);
}

//#endif
// #endif

// Number of coordinates
unsigned n_dim = this->nodal_dimension();
Expand Down

0 comments on commit 4566844

Please sign in to comment.