Skip to content

Commit

Permalink
TensorTools.m: Correct error message for mismatched indices
Browse files Browse the repository at this point in the history
  • Loading branch information
ianhinder committed Nov 28, 2011
1 parent b1dbef9 commit e9f96ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tools/CodeGen/TensorTools.m
Expand Up @@ -272,7 +272,7 @@
(* else *)
If[!charactersMatch[c,TensorCharacter[T]],
ThrowError["Tensor indices in "<>ToString[Tensor[T,is],OutputForm]<>
" do not match those used previously: "<>ToString[T]<>"["<>StringJoin[Riffle[c,","]]<>"]"]]];
" do not match those used previously: "<>ToString[T]<>"["<>StringJoin[Riffle[TensorCharacter[T],","]]<>"]"]]];

Tensor[T, is]];

Expand Down

0 comments on commit e9f96ca

Please sign in to comment.