Add cast to avoid warning

This commit is contained in:
Massimiliano Corsini 2006-03-29 10:12:08 +00:00
parent ae0d30d3e5
commit 5358e40f63
1 changed files with 4 additions and 1 deletions

View File

@ -24,6 +24,9 @@
History
$Log: not supported by cvs2svn $
Revision 1.2 2005/12/12 12:08:30 cignoni
First working version
Revision 1.1 2005/11/21 15:58:12 cignoni
First Release (not working!)
@ -221,7 +224,7 @@ void Compute(MeshType &m)
ScalarType Mass()
{
return T0;
return static_cast<ScalarType>(T0);
}
Point3<ScalarType> CenterOfMass()