Skip to content

Commit

Permalink
meta/Lattice.m: fix FindDependence[]
Browse files Browse the repository at this point in the history
Before the fix, there were objects that FindDependence[] classified as
explicit dependencies even though they were not registered to
ToEnumSymbol[].
  • Loading branch information
jhyeon committed Sep 5, 2014
1 parent cca418d commit a6d14f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meta/Lattice.m
Expand Up @@ -1364,7 +1364,7 @@
FindDependence[expr_] := Module[{
explicit = Cases[
expr,
p:Re[_]|Im[_] /; ValueQ@ToEnumSymbol@PrivatizeReIm@ToCExp[p],
p:Re[_]|Im[_] /; With[{cexp=ToCExp[p]}, ValueQ@ToEnumSymbol@cexp],
{0, Infinity}],
children
},
Expand Down

0 comments on commit a6d14f3

Please sign in to comment.