fixed: projectSolution for 0 secondary solutions in ASMs3D
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1394 e10b68d5-8a6e-419e-a041-bce267b0401d
This commit is contained in:
parent
2e2cbee235
commit
618e7bc929
@ -2018,7 +2018,7 @@ Go::SplineVolume* ASMs3D::projectSolution (const Integrand& integrand) const
|
||||
|
||||
// Evaluate the secondary solution at all sampling points
|
||||
Matrix sValues;
|
||||
if (!this->evalSolution(sValues,integrand,gpar))
|
||||
if (!this->evalSolution(sValues,integrand,gpar) || sValues.rows() == 0)
|
||||
return 0;
|
||||
|
||||
// Project the results onto the spline basis to find control point
|
||||
|
Loading…
Reference in New Issue
Block a user