Skip to content

Commit

Permalink
Fixing mesh for 3d
Browse files Browse the repository at this point in the history
  • Loading branch information
mhscott authored Jul 25, 2024
1 parent 28d0533 commit 0b14cc1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion SRC/element/dispBeamColumn/DispBeamColumn3d.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ void *OPS_DispBeamColumn3d(const ID &info) {

// get the data for a mesh
Vector &mdata = meshdata[info(1)];
if (mdata.Size() < 5) return 0;
if (mdata.Size() < 4) return 0;

iData[0] = info(2);
iData[1] = info(3);
Expand Down
2 changes: 1 addition & 1 deletion SRC/element/dispBeamColumn/TimoshenkoBeamColumn3d.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ void *OPS_TimoshenkoBeamColumn3d(const ID &info) {

// get the data for a mesh
Vector &mdata = meshdata[info(1)];
if (mdata.Size() < 5) return 0;
if (mdata.Size() < 4) return 0;

iData[0] = info(2);
iData[1] = info(3);
Expand Down

0 comments on commit 0b14cc1

Please sign in to comment.