[Templates-svn] r1112 - trunk/lib/Template/Plugin
svn at template-toolkit.org
svn at template-toolkit.org
Fri Jan 25 00:57:40 GMT 2008
Author: sean
Date: 2008-01-25 00:57:34 +0000 (Fri, 25 Jan 2008)
New Revision: 1112
Modified:
trunk/lib/Template/Plugin/Math.pm
Log:
Fixed bug in atan2.
Modified: trunk/lib/Template/Plugin/Math.pm
===================================================================
--- trunk/lib/Template/Plugin/Math.pm 2008-01-24 05:45:33 UTC (rev 1111)
+++ trunk/lib/Template/Plugin/Math.pm 2008-01-25 00:57:34 UTC (rev 1112)
@@ -45,7 +45,7 @@
}
sub abs { shift; CORE::abs($_[0]); }
-sub atan2 { shift; CORE::atan2($_[0], $_[0]); } # prototyped (ugg)
+sub atan2 { shift; CORE::atan2($_[0], $_[1]); } # prototyped (ugg)
sub cos { shift; CORE::cos($_[0]); }
sub exp { shift; CORE::exp($_[0]); }
sub hex { shift; CORE::hex($_[0]); }
More information about the templates-svn
mailing list