Skip to content
Permalink
Browse files

use 'basic' rules to clean student's expression

  • Loading branch information...
christianp committed Sep 26, 2018
1 parent dfa90e7 commit 8e5644a8ad50f4d6963ad9faf824001e0956f4ff
Showing with 1 addition and 1 deletion.
  1. +1 −1 marking_scripts/jme.jme
@@ -4,7 +4,7 @@ studentExpr (The student's answer, parsed):
fail(translate("part.marking.nothing entered"))
);
try(
simplify(parse(studentAnswer),[])
simplify(parse(studentAnswer),'basic')
, message,
warn(translate("part.jme.answer invalid",["message":message]));
fail(translate("part.jme.answer invalid",["message":message]))

0 comments on commit 8e5644a

Please sign in to comment.
You can’t perform that action at this time.