Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
soper07 committed Feb 10, 2017
1 parent 9bac4ca commit dda10f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/java/org/tensorics/core/tensor/Shapes.java
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ private static Shape combineBy(Iterable<Shape> shapes, BiFunction<Shape, Shape,
}
Shape resultingShape = null;
for (Shape shape : shapes) {
if (shape == null) {
if (resultingShape == null) {
resultingShape = shape;
} else {
resultingShape = combiner.apply(resultingShape, shape);
Expand Down

0 comments on commit dda10f4

Please sign in to comment.