Skip to content

Commit be82dd0

Browse files
committed
Fix typo pointed out by @sfiedle1
1 parent 166606e commit be82dd0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

macros/contexts/contextReaction.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -871,7 +871,7 @@ sub equivalent {
871871
return $list->equivalent($other);
872872
}
873873
return 0 unless $other->isChemical;
874-
$other = $other->COMPOUND unless $other -type eq 'Compound';
874+
$other = $other->COMPOUND unless $other->type eq 'Compound';
875875
my $states = $self->context->flag('studentsMustUseStates');
876876
my $molecular = $self->context->flag('compareMolecular');
877877
my $both = $self->context->flag('acceptMolecularForm');

0 commit comments

Comments
 (0)