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
ba58ae24
Commit
ba58ae24
authored
Jul 26, 2018
by
Martin Reinecke
Browse files
bug fix
parent
6a602768
Changes
1
Hide whitespace changes
Inline
Side-by-side
nifty5/linearization.py
View file @
ba58ae24
...
...
@@ -72,7 +72,7 @@ class Linearization(object):
return
Linearization
(
self
.
_val
*
other
,
self
.
_jac
*
other
)
if
isinstance
(
other
,
(
Field
,
MultiField
)):
d2
=
makeOp
(
other
)
return
Linearization
(
self
.
_val
*
other
,
self
.
_jac
*
d2
)
return
Linearization
(
self
.
_val
*
other
,
d2
*
self
.
_jac
)
raise
TypeError
def
__rmul__
(
self
,
other
):
...
...
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