Skip to content
GitLab
Menu
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
2c56a2d4
Commit
2c56a2d4
authored
Aug 14, 2018
by
Martin Reinecke
Browse files
bug fix
parent
4d24451e
Changes
2
Hide whitespace changes
Inline
Side-by-side
nifty5/domains/log_rg_space.py
View file @
2c56a2d4
...
...
@@ -52,6 +52,7 @@ class LogRGSpace(StructuredDomain):
def
shape
(
self
):
return
self
.
_shape
@
property
def
scalar_dvol
(
self
):
return
self
.
_dvol
...
...
nifty5/operators/qht_operator.py
View file @
2c56a2d4
...
...
@@ -64,7 +64,7 @@ class QHTOperator(LinearOperator):
def
apply
(
self
,
x
,
mode
):
self
.
_check_input
(
x
,
mode
)
dom
=
self
.
_domain
[
self
.
_space
]
x
=
x
.
val
*
dom
.
scalar_dvol
()
x
=
x
.
val
*
dom
.
scalar_dvol
n
=
self
.
_domain
.
axes
[
self
.
_space
]
rng
=
n
if
mode
==
self
.
TIMES
else
reversed
(
n
)
ax
=
dobj
.
distaxis
(
x
)
...
...
Write
Preview
Supports
Markdown
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