Skip to content

Commit

Permalink
fix issue with array declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
EamonnGlynn committed Jul 14, 2024
1 parent bcef685 commit 0b7f0ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pmpo_MPMesh_assembly.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ void MPMesh::assemblyVtx1() {
int vID = elm2VtxConn(elm,i+1)-1; //vID = vertex id
for(int j=0;j<numEntries;j++){
double fieldComponentVal = mpData(mp,j) * weight(mp, 0);
double[4] CoordDiffs = {1,
double CoordDiffs[4] = {1,
vtxCoords(vID,0) - mpPositions(mp,0),
vtxCoords(vID,1) - mpPositions(mp,1),
vtxCoords(vID,2) - mpPositions(mp,2)};
Expand Down

0 comments on commit 0b7f0ef

Please sign in to comment.