]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/amf_controller.rb
Fix typo.
[rails.git] / app / controllers / amf_controller.rb
index b91052266ea92d72105585848593281f9c5c7222..2bd98707a8a5e683ee53534d8599130b74f9a92d 100644 (file)
@@ -172,8 +172,8 @@ EOF
   def whichways(args)
     xmin = args[0].to_f-0.01
     ymin = args[1].to_f-0.01
   def whichways(args)
     xmin = args[0].to_f-0.01
     ymin = args[1].to_f-0.01
-    xmax = args[2].to+f-0.01
-    ymax = args[3].to+f-0.01
+    xmax = args[2].to_f+0.01
+    ymax = args[3].to_f+0.01
 
     ActiveRecord::Base.logger.info("  Bounding Box: #{xmin},#{ymin},#{xmax},#{ymax}")
 
 
     ActiveRecord::Base.logger.info("  Bounding Box: #{xmin},#{ymin},#{xmax},#{ymax}")