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
5f85692f
Commit
5f85692f
authored
Jun 16, 2018
by
Philipp Arras
Browse files
Docu
parent
992bd8b6
Pipeline
#31206
passed with stages
in 1 minute and 24 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
nifty4/models/model.py
View file @
5f85692f
...
...
@@ -60,7 +60,7 @@ class Mul(Model):
"""
Please note: If you multiply two operators which share some keys in the
position but have different values there, it is not guaranteed which value
will be used for the
sum. You shouldn't do that anyways
.
will be used for the
product
.
"""
def
__init__
(
self
,
position
,
op1
,
op2
):
super
(
Mul
,
self
).
__init__
(
position
)
...
...
@@ -85,7 +85,7 @@ class Add(Model):
"""
Please note: If you add two operators which share some keys in the position
but have different values there, it is not guaranteed which value will be
used for the sum.
You shouldn't do that anyways.
used for the sum.
"""
def
__init__
(
self
,
position
,
op1
,
op2
):
super
(
Add
,
self
).
__init__
(
position
)
...
...
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