From 6a20eed594c346790b6da5da4be243dd581927d3 Mon Sep 17 00:00:00 2001 From: mihaylov Date: Sun, 8 Oct 2006 09:07:41 +0000 Subject: Moved scala.runtime.compat to scala.compat --- test/files/run/Course-2002-09.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/files/run/Course-2002-09.scala') diff --git a/test/files/run/Course-2002-09.scala b/test/files/run/Course-2002-09.scala index 65f9adad2b..afc3be7665 100644 --- a/test/files/run/Course-2002-09.scala +++ b/test/files/run/Course-2002-09.scala @@ -50,7 +50,7 @@ class Squarer(square: Quantity, root: Quantity) extends Constraint { def newValue: Unit = Pair(square.getValue, root.getValue) match { case Pair(Some(x), _ )if (x < 0) => error("Square of negative number") case Pair(Some(x), _ ) => - root.setValue(scala.runtime.compat.Math.sqrt(x), this) + root.setValue(compat.Math.sqrt(x), this) case Pair(_ , Some(x)) => square.setValue(x*x, this) case _ => } -- cgit v1.2.3