[LON-CAPA-cvs] cvs: loncom /homework/caparesponse caparesponse.pm

albertel lon-capa-cvs@mail.lon-capa.org
Sun, 26 Jun 2005 22:21:10 -0000


albertel		Sun Jun 26 18:21:10 2005 EDT

  Modified files:              
    /loncom/homework/caparesponse	caparesponse.pm 
  Log:
  - apparently there are alot of published problems with bad sig figs.
  
  
  
Index: loncom/homework/caparesponse/caparesponse.pm
diff -u loncom/homework/caparesponse/caparesponse.pm:1.169 loncom/homework/caparesponse/caparesponse.pm:1.170
--- loncom/homework/caparesponse/caparesponse.pm:1.169	Mon Jun 20 17:30:22 2005
+++ loncom/homework/caparesponse/caparesponse.pm	Sun Jun 26 18:21:06 2005
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # caparesponse definition
 #
-# $Id: caparesponse.pm,v 1.169 2005/06/20 21:30:22 albertel Exp $
+# $Id: caparesponse.pm,v 1.170 2005/06/26 22:21:06 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -381,7 +381,7 @@
 						 $parstack,$safeeval);
 	    my ($ad,$msg) =&Apache::inputtags::finalizeawards($awards,$msgs);
 	    if ($ad ne 'EXACT_ANS' && $ad ne 'APPROX_ANS') {
-		&Apache::lonxml::error(&mt('Computer\'s answer is incorrect ("[_1]"). It is likely that the tolerance range ("[_2]" to "[_3]") or significant figures ("[_4]" to "[_5]") needs to be adjusted',$response,$low,$high,$siglow,$sighigh));
+		&Apache::lonxml::warning(&mt('Computer\'s answer is incorrect ("[_1]"). It is likely that the tolerance range ("[_2]" to "[_3]") or significant figures ("[_4]" to "[_5]") needs to be adjusted',$response,$low,$high,$siglow,$sighigh));
 	    }
 	}
 	if (defined($unit) and ($unit ne '') and