Skip to content

Commit dda10f4

Browse files
committed
bugfix
1 parent 9bac4ca commit dda10f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/java/org/tensorics/core/tensor/Shapes.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ private static Shape combineBy(Iterable<Shape> shapes, BiFunction<Shape, Shape,
203203
}
204204
Shape resultingShape = null;
205205
for (Shape shape : shapes) {
206-
if (shape == null) {
206+
if (resultingShape == null) {
207207
resultingShape = shape;
208208
} else {
209209
resultingShape = combiner.apply(resultingShape, shape);

0 commit comments

Comments
 (0)