Skip to content

Commit

Permalink
Removed accidentally commited debug output.
Browse files Browse the repository at this point in the history
  • Loading branch information
robbr48 committed Aug 12, 2016
1 parent 5fc6629 commit b0fc131
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions OMEdit/OMEditGUI/Editors/MetaModelEditor.cpp
Expand Up @@ -875,9 +875,7 @@ void MetaModelEditor::alignInterfaces(QString fromInterface, QString toInterface
inline bool MetaModelEditor::fuzzyCompare(double p1, double p2)
{
//! @todo What tolerance should be used? This is just a random number that seemed to work for some reason.
bool retval = (qAbs(p1 - p2) <= qMax(1e-4 * qMin(qAbs(p1), qAbs(p2)),1e-5));
qDebug() << "Comparing " << p1 << " with " << p2 << ": " << retval;
return retval;
return (qAbs(p1 - p2) <= qMax(1e-4 * qMin(qAbs(p1), qAbs(p2)),1e-5));
}

/*!
Expand Down

0 comments on commit b0fc131

Please sign in to comment.