Wrong variable type

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@876 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
Jan Möbius
2013-07-24 11:28:38 +00:00
parent 5c2285eabe
commit 765e3ffa9e

View File

@@ -282,7 +282,7 @@ private:
real_t alpha = (4.0-2.0*cos(2.0*M_PI / (double)valence))/9.0;
return weight_t( real_t(1)-alpha, alpha/real_t(valence) );
}
return weight_t(0.0, 0.0);
return weight_t(real_t(0.0), real_t(0.0) );
}
int valence;
};