aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/framework/partial_tensor_shape_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/core/framework/partial_tensor_shape_test.cc')
-rw-r--r--tensorflow/core/framework/partial_tensor_shape_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/core/framework/partial_tensor_shape_test.cc b/tensorflow/core/framework/partial_tensor_shape_test.cc
index b008a93c03..23f3d908fb 100644
--- a/tensorflow/core/framework/partial_tensor_shape_test.cc
+++ b/tensorflow/core/framework/partial_tensor_shape_test.cc
@@ -220,7 +220,7 @@ TEST(PartialTensorShapeTest, PartialShapeMergeWith) {
TEST(PartialTensorShapeTest, MakePartialShapeEmpty) {
// Empty made partial shapes should still be fully defined
- const int64 dims[0] = {};
+ const int64 dims[1] = {};
PartialTensorShape shape;
EXPECT_FALSE(shape.IsFullyDefined());
TF_ASSERT_OK(PartialTensorShape::MakePartialShape(dims, 0, &shape));