Commit a2f3c5dc authored by Daniel Boeckenhoff's avatar Daniel Boeckenhoff
Browse files

error message format

parent 40cf3913
......@@ -511,7 +511,7 @@ class Tensors(AbstractNdarray):
for d in obj.shape[1:]:
if not d == obj.dim:
raise ValueError("Dimensions are inconstistent. "
"Manifold dimension is {obj.dim}, "
"Manifold dimension is {obj.dim}. "
"Found dimensions {found} in {obj}."
.format(found=obj.shape[1:], **locals()))
if dim is not None:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment