Skip to content

Commit

Permalink
KrancTensor.m: Correct logic when searching for inherited groups
Browse files Browse the repository at this point in the history
This change was introduced when debugging, and should not have been left in.
  • Loading branch information
ianhinder committed Feb 7, 2012
1 parent 8808779 commit efe23a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tools/CodeGen/KrancTensor.m
Expand Up @@ -184,7 +184,7 @@ Scan all the interface files and find the thorn(s) providing this implementation
impThorns[[1]],
(* else *)
Module[
{impThorns2 = Select[getAllThorns[], StringMatchQ[implementationOfThorn[#], "*", IgnoreCase -> True] &]},
{impThorns2 = Select[getAllThorns[], StringMatchQ[implementationOfThorn[#], imp, IgnoreCase -> True] &]},
Switch[Length[impThorns2],
0, ThrowError[ToString@StringForm["Cannot find a thorn with implementation `1`", imp]],
1, impThorns2[[1]],
Expand Down

0 comments on commit efe23a2

Please sign in to comment.