mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-15 01:58:35 +05:00
fix FPE error at "Clear mesh data" by setting nb of nodes to zero
instead of SMDS_Mesh::chunkSize
This commit is contained in:
parent
b6b8aa7213
commit
f7c8f718f9
@ -2511,7 +2511,7 @@ void SMDS_Mesh::Clear()
|
||||
// rnv: to fix bug "21125: EDF 1233 SMESH: Degrardation of precision in a test case for quadratic conversion"
|
||||
// using double type for storing coordinates of nodes instead float.
|
||||
points->SetDataType(VTK_DOUBLE);
|
||||
points->SetNumberOfPoints(SMDS_Mesh::chunkSize);
|
||||
points->SetNumberOfPoints(0 /*SMDS_Mesh::chunkSize*/);
|
||||
myGrid->SetPoints( points );
|
||||
points->Delete();
|
||||
myGrid->BuildLinks();
|
||||
|
Loading…
Reference in New Issue
Block a user