diff --git a/include/ctrans.hpp b/include/ctrans.hpp index aedb43cac..c0004f2b9 100644 --- a/include/ctrans.hpp +++ b/include/ctrans.hpp @@ -41,7 +41,7 @@ namespace mapnik { double sx=((double)width)/extent.width(); double sy=((double)height)/extent.height(); - scale_=sx;//std::min(sx,sy); + scale_=std::min(sx,sy); } inline double scale() const