diff --git a/src/input_parsers/TensorUtils.h b/src/input_parsers/TensorUtils.h index e9ca275e16..3d46074856 100644 --- a/src/input_parsers/TensorUtils.h +++ b/src/input_parsers/TensorUtils.h @@ -79,7 +79,7 @@ Vector transposeTensor( Vector tensor, TensorShape shape, Permutation perm // NOTE this implementation is *very* inefficient. Eventually we might want to // switch to a similar implementation as NumPy arrays with internal strides etc. ASSERT( shape.size() == permutation.size() ); - ASSERT( tensorSize(shape) == tensor.size() ); + ASSERT( tensorSize( shape ) == tensor.size() ); TensorShape transposedShape = transposeVector( shape, permutation ); Vector result( tensor.size() );