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
Markus Holzer
lbmpy
Commits
02cd3d1b
Commit
02cd3d1b
authored
Nov 02, 2021
by
Markus Holzer
Browse files
Small typo
parent
f8046b1d
Pipeline
#35286
passed with stages
in 57 minutes and 19 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
lbmpy/methods/abstractlbmethod.py
View file @
02cd3d1b
...
...
@@ -53,7 +53,7 @@ class AbstractLbMethod(abc.ABC):
"""Returns a qxq diagonal matrix which contains the relaxation rate for each moment on the diagonal"""
d
=
sp
.
zeros
(
len
(
self
.
relaxation_rates
))
for
i
in
range
(
0
,
len
(
self
.
relaxation_rates
)):
# not
her
e that 0.0 is converted to sp.Zero here. It is not possible to prevent this.
# note that 0.0 is converted to sp.Zero here. It is not possible to prevent this.
d
[
i
,
i
]
=
self
.
relaxation_rates
[
i
]
return
d
...
...
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