Skip to content

Commit

Permalink
Merge pull request #457 from SCOREC/apw/fix_cap_smooth_eigen
Browse files Browse the repository at this point in the history
Fix capstone smoothing eigen call
  • Loading branch information
cwsmith authored Sep 26, 2024
2 parents 3e6ecac + ed78339 commit e8c9770
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apf_cap/apfCAP.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1006,7 +1006,8 @@ bool smoothCAPAnisoSizes(apf::Mesh2* mesh, std::string analysis,
apf::Matrix3x3 t(m[0], m[1], m[2],
m[1], m[3], m[4],
m[2], m[4], m[5]);
PCU_DEBUG_ASSERT(apf::eigen(t, &Q[0], &H[0]) == 3);
int n = apf::eigen(t, &Q[0], &H[0]);
PCU_DEBUG_ASSERT(n == 3);
apf::setMatrix(frames, e, 0, Q);
apf::setVector(scales, e, 0, H);
}
Expand Down

0 comments on commit e8c9770

Please sign in to comment.