[TF:XLA] Fix copy-and-paste bug in CHECK statement.

PiperOrigin-RevId: 161527685
This commit is contained in:
Peter Hawkins 2017-07-11 07:46:56 -07:00 committed by TensorFlower Gardener
parent 9e89636e6a
commit ba45775be0

View File

@ -180,7 +180,7 @@ void XlaWhileOp::Compile(XlaOpKernelContext* ctx) {
} else {
CHECK(!body.xla_input_shapes.empty());
body_input_shape = body.xla_input_shapes[0];
CHECK(!body.xla_input_shapes.empty());
CHECK(!cond.xla_input_shapes.empty());
cond_input_shape = cond.xla_input_shapes[0];
}