Skip to content

Commit

Permalink
Updated to use new package method to look up the Formula package name.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.webwork.maa.org/system/trunk/pg@5054 c0722133-6baf-4dd8-8699-98d999cd4f06
  • Loading branch information
dpvc committed Jun 28, 2007
1 parent bdf5e79 commit 1340c87
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions macros/answerComposition.pl
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ sub composition_ans_list {
#
# Get correct answer data and determine which variables to use
#
$f = Value::Formula->new($f); $g = Value::Formula->new($g);
$f = Value->Package("Formula")->new($f); $g = Value->Package("Formula")->new($g);
my %correct = ($fID => $f, $gID => $g);
my %x = ($fID => $vars->[0], $gID => $vars->[1]);
foreach $i (@IDs) {
Expand Down Expand Up @@ -182,7 +182,7 @@ sub composition_ans_list {
unless $isPreview;
$error = 1; next;
}

}

#
Expand Down

0 comments on commit 1340c87

Please sign in to comment.