Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ift
NIFTy
Commits
6df3bfe2
Commit
6df3bfe2
authored
Jun 06, 2021
by
Lukas Platz
Browse files
fix performance test applicability for operators with limited domain
parent
4772fce8
Pipeline
#102978
passed with stages
in 13 minutes and 42 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
src/extra.py
View file @
6df3bfe2
...
@@ -270,7 +270,7 @@ def _performance_check(op, pos, raise_on_fail):
...
@@ -270,7 +270,7 @@ def _performance_check(op, pos, raise_on_fail):
myop
=
op
@
cop
myop
=
op
@
cop
myop
(
pos
)
myop
(
pos
)
cond
=
[
cop
.
count
!=
1
]
cond
=
[
cop
.
count
!=
1
]
lin
=
myop
(
2
*
Linearization
.
make_var
(
pos
,
wm
))
lin
=
myop
(
Linearization
.
make_var
(
pos
,
wm
))
cond
.
append
(
cop
.
count
!=
2
)
cond
.
append
(
cop
.
count
!=
2
)
lin
.
jac
(
pos
)
lin
.
jac
(
pos
)
cond
.
append
(
cop
.
count
!=
3
)
cond
.
append
(
cop
.
count
!=
3
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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