From 2c214ae6cddd46f2a7e9387defaa5805f5f8ddaa Mon Sep 17 00:00:00 2001 From: dlglin Date: Fri, 13 Jan 2017 15:38:35 -0700 Subject: [PATCH] Fix issue where test_at is ignored if upToConstant is used --- lib/Value/AnswerChecker.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Value/AnswerChecker.pm b/lib/Value/AnswerChecker.pm index b18a42b4c7..4d3a435a3c 100644 --- a/lib/Value/AnswerChecker.pm +++ b/lib/Value/AnswerChecker.pm @@ -1683,7 +1683,7 @@ sub cmp { Parser::Context->current(undef,$context); $context->variables->add('C0' => 'Parameter'); my $f = $self->Package("Formula")->new('C0')+$self; - for ('limits','test_points','test_values','num_points','granularity','resolution', + for ('limits','test_points','test_values','test_at','num_points','granularity','resolution', 'checkUndefinedPoints','max_undefined') {$f->{$_} = $self->{$_} if defined($self->{$_})} $cmp->ans_hash(correct_value => $f);