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
763bdac3
Commit
763bdac3
authored
May 10, 2020
by
dboe
Browse files
from_new_dict works
parent
5a666e45
Changes
1
Hide whitespace changes
Inline
Side-by-side
tfields/core.py
View file @
763bdac3
...
...
@@ -2145,6 +2145,7 @@ class Maps(sortedcontainers.SortedDict, AbstractObject):
# By now everything must have been converted to flat args
# Maps(tfields.TensorFields([], dim=3), [[1,2,3]])
arg_tuple_list
=
[]
print
(
args
)
for
arg
in
args
:
if
not
isinstance
(
type
(
arg
),
tuple
):
dimension
=
dim
(
arg
)
...
...
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