Skip to content
Snippets Groups Projects
Commit 1eadc614 authored by marco's avatar marco
Browse files

silence warning

git-svn-id: https://dng.biozentrum.unibas.ch/svn/openstructure/trunk@1905 5a81b35b-ba03-0410-adc8-b2c5c5119f08
parent ccd283d4
No related branches found
No related tags found
No related merge requests found
......@@ -52,7 +52,7 @@ namespace {
// onto the given vector. it is assumed that the vector has unit length.
geom::Mat3 find_rotation(const geom::Vec3& d) {
// assume the vectors are already normalized
if (std::abs(1.0-Length(d))>0.00001) {
if (std::abs(Real(1.0-Length(d)))>0.00001) {
LOGN_DEBUG("connector find_rotation() has faulty length: " << Length(d));
assert(0 && "error is big");
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment