Commit 02cd3d1b authored by Markus Holzer's avatar Markus Holzer
Browse files

Small typo

parent f8046b1d
Pipeline #35286 passed with stages
in 57 minutes and 19 seconds
......@@ -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 here 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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment