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
ift
NIFTy
Commits
7d0d885f
Commit
7d0d885f
authored
Jul 14, 2021
by
Martin Reinecke
Committed by
Philipp Arras
Jul 14, 2021
Browse files
Typo
parent
94d27fd0
Pipeline
#105700
passed with stages
in 20 minutes and 52 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/operators/jax_operator.py
View file @
7d0d885f
...
...
@@ -71,7 +71,7 @@ class JaxOperator(Operator):
res
=
_jax2np
(
self
.
_func
(
x
.
val
))
if
isinstance
(
res
,
dict
):
if
not
isinstance
(
self
.
_target
,
MultiDomain
):
raise
TypeError
((
"Jax function return a dictionary although the "
raise
TypeError
((
"Jax function return
s
a dictionary although the "
"target of the operator is a DomainTuple."
))
if
set
(
res
.
keys
())
!=
set
(
self
.
_target
.
keys
()):
raise
ValueError
((
"Keys do not match:
\n
"
...
...
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