We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f87cb4e commit 6599899Copy full SHA for 6599899
2 files changed
hilbertcurve/__init__.py
@@ -1,4 +1,4 @@
1
"""Metadata for this package."""
2
3
__package_name__ = "hilbertcurve"
4
-__version__ = "2.0.4"
+__version__ = "2.0.5"
hilbertcurve/hilbertcurve.py
@@ -32,7 +32,7 @@ def __init__(
32
n: Union[int, float],
33
n_procs: int=0,
34
) -> None:
35
-
+
36
"""Initialize a hilbert curve with,
37
38
Args:
@@ -76,7 +76,7 @@ def __init__(
76
elif n_procs == 0:
77
self.n_procs = 0
78
elif n_procs > 0:
79
- self.n_procs = self.n_procs
+ self.n_procs = n_procs
80
else:
81
raise ValueError(
82
'n_procs must be >= -1 (got n_procs={} as input)'.format(n_procs))
0 commit comments