Log Message:
-----------
Fixed a problem where the context was not properly maintained when
intervals are combined.
Modified Files:
--------------
pg/macros:
contextInequalities.pl
Revision Data
-------------
Index: contextInequalities.pl
===================================================================
RCS file: /webwork/cvs/system/pg/macros/contextInequalities.pl,v
retrieving revision 1.11
retrieving revision 1.12
diff -Lmacros/contextInequalities.pl -Lmacros/contextInequalities.pl -u -r1.11 -r1.12
--- macros/contextInequalities.pl
+++ macros/contextInequalities.pl
@@ -669,8 +669,8 @@
if (defined($x)) {$S->{varName} = $x; $S->updateParts}
return $S;
}
- $x = ($self->context->variables->names)[0] unless $x;
- $S = bless $S->inContext($context), $self->Package("Inequality".$S->type);
+ $x = ($context->variables->names)[0] unless $x;
+ $S = bless $S->inContext($context), $context->Package("Inequality".$S->type);
$S->{varName} = $x; $S->{reduceSets} = $S->{"is".$S->Type} = 1;
$S->updateParts;
return $S;
|