diff --git a/Core/Tools/PyFmt.h b/Core/Tools/PyFmt.h
index ee3f3fb3a52f4284fedbe5a72a8488b9078a9d3c..208d720ef35e82b7c339c14ec5b412f6068bea0d 100644
--- a/Core/Tools/PyFmt.h
+++ b/Core/Tools/PyFmt.h
@@ -44,7 +44,6 @@ std::string printRealLimitsArg(const RealLimits& limits, const std::string& unit
 bool isSquare(double length1, double length2, double angle);
 bool isHexagonal(double length1, double length2, double angle);
 std::string printKvector(const kvector_t value);
-bool isDefaultDirection(const kvector_t direction);
 
 //! Returns a string of blanks with given width. By default
 //! the width equals standard offset in python files.