Commit 765e3ffa authored by Jan Möbius's avatar Jan Möbius

Wrong variable type

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@876 fdac6126-5c0c-442c-9429-916003d36597
parent 5c2285ea
......@@ -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;
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment