Skip to content

Commit

Permalink
KrancTensor.m: Make accelerated implementation search case-insensitive
Browse files Browse the repository at this point in the history
  • Loading branch information
ianhinder committed Feb 7, 2012
1 parent b94a7e2 commit 08561db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tools/CodeGen/KrancTensor.m
Expand Up @@ -180,7 +180,7 @@ Scan all the interface files and find the thorn(s) providing this implementation
DefFn[
thornOfImplementation[imp_String] :=
Module[
{impThorns = Select[getAllThorns[], FileNameTake[#,-1] === imp &],
{impThorns = Select[getAllThorns[], StringMatchQ[FileNameTake[#,-1],imp,IgnoreCase->True] &],
impThorns2},
If[impThorns =!= {} && StringMatchQ[implementationOfThorn[impThorns[[1]]], imp, IgnoreCase->True],
impThorns[[1]],
Expand Down

0 comments on commit 08561db

Please sign in to comment.