Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Daniel Boeckenhoff
tfields
Commits
a2f3c5dc
Commit
a2f3c5dc
authored
Apr 03, 2019
by
Daniel Boeckenhoff
Browse files
error message format
parent
40cf3913
Changes
1
Hide whitespace changes
Inline
Side-by-side
tfields/core.py
View file @
a2f3c5dc
...
...
@@ -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
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment