We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d748cc7 commit 4cf4a54Copy full SHA for 4cf4a54
1 file changed
adaptive/learner/integrator_coeffs.py
@@ -148,10 +148,8 @@ def calc_V(x, n):
148
149
class Coefficients:
150
def __init__(self) -> None:
151
- self.is_set = False
152
# The nodes
153
self.ns = (5, 9, 17, 33)
154
- self.eps = np.spacing(1)
155
156
# If the relative difference between two consecutive approximations is
157
# lower than this value, the error estimate is considered reliable.
@@ -162,6 +160,7 @@ def __init__(self) -> None:
162
160
# such that no artifacts are apparent in plots of (i, log(a_i)), where a_i is
163
161
# the sequence of estimates of the integral value of an interval and all its
164
# ancestors..
+ self.eps = np.spacing(1)
165
self.min_sep = 16 * self.eps
166
167
# Maximum amount of subdivisions
0 commit comments