aboutsummaryrefslogtreecommitdiff
path: root/Tools/CodeGen/TensorTools.m
diff options
context:
space:
mode:
authorianhin <ianhin>2006-02-01 20:00:20 +0000
committerianhin <ianhin>2006-02-01 20:00:20 +0000
commit82f1f7301a6ec0f9982b7fd0173c78a4255a288f (patch)
tree0bb2ef59b6ca093a418ea386eacad04f9a284870 /Tools/CodeGen/TensorTools.m
parent29c08fa6f5e6220ceecc455a09f4709bf382ea81 (diff)
Relaxed strictness of tensor verification
Diffstat (limited to 'Tools/CodeGen/TensorTools.m')
-rw-r--r--Tools/CodeGen/TensorTools.m1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tools/CodeGen/TensorTools.m b/Tools/CodeGen/TensorTools.m
index 8071171..fadfa8f 100644
--- a/Tools/CodeGen/TensorTools.m
+++ b/Tools/CodeGen/TensorTools.m
@@ -980,6 +980,7 @@ CheckTensors[x_, y_] :=
Print["ys == ", ys];*)
If[ x === 0 || y === 0, Return[True]];
+ If[ Length[ys] == 0, Return[True]];
If[!(xs === ys),
(* Print["Throwing..."];*)