[LON-CAPA-cvs] cvs: loncom /homework default_homework.lcpm
raeburn
raeburn at source.lon-capa.org
Wed Nov 21 18:22:44 EST 2012
raeburn Wed Nov 21 23:22:44 2012 EDT
Modified files:
/loncom/homework default_homework.lcpm
Log:
- Bug 6629.
- Re-establish availability of ln() function in script blocks for Linux
distros running perl 5.10.1 or newer.
Index: loncom/homework/default_homework.lcpm
diff -u loncom/homework/default_homework.lcpm:1.161 loncom/homework/default_homework.lcpm:1.162
--- loncom/homework/default_homework.lcpm:1.161 Thu Oct 6 17:15:40 2011
+++ loncom/homework/default_homework.lcpm Wed Nov 21 23:22:43 2012
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# used by lonxml::xmlparse() as input variable $safeinit to Apache::run::run()
#
-# $Id: default_homework.lcpm,v 1.161 2011/10/06 17:15:40 raeburn Exp $
+# $Id: default_homework.lcpm,v 1.162 2012/11/21 23:22:43 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -816,6 +816,7 @@
sub exp { CORE::exp(shift) }
sub int { CORE::int(shift) }
sub log { CORE::log(shift) }
+sub ln { CORE::log(shift) }
sub atan2 { CORE::atan2($_[0],$_[1]) }
sub sqrt { CORE::sqrt(shift) }
More information about the LON-CAPA-cvs
mailing list