SMESH_Hypothesis::Hypothesis_Status aStatus;

if ( aPrism3D->CheckHypothesis( aMesh, aShape, aStatus ) ) {
+      aPrism3D->InitComputeError();
       bOK = aPrism3D->Compute( aMesh, aShape );
This commit is contained in:
eap 2009-06-18 12:47:55 +00:00
parent 6d0508c77b
commit 0f98258c46

View File

@ -1047,6 +1047,7 @@ SMESH_ComputeErrorPtr ComputePentahedralMesh(SMESH_Mesh & aMesh,
} }
SMESH_Hypothesis::Hypothesis_Status aStatus; SMESH_Hypothesis::Hypothesis_Status aStatus;
if ( aPrism3D->CheckHypothesis( aMesh, aShape, aStatus ) ) { if ( aPrism3D->CheckHypothesis( aMesh, aShape, aStatus ) ) {
aPrism3D->InitComputeError();
bOK = aPrism3D->Compute( aMesh, aShape ); bOK = aPrism3D->Compute( aMesh, aShape );
err = aPrism3D->GetComputeError(); err = aPrism3D->GetComputeError();
} }