Commit 4b3c4f6
The `double_factorize` method in the `DFABKpointIntegrals` class had an
inconsistent return. It was type-hinted to return `None`, but had a code
path that returned a value. This early return also caused a caching
issue where the method would incorrectly return a cached result even
when called with a new `thresh` value, preventing re-computation.
This commit removes the premature return statement. This allows the
`thresh` parameter to take effect as intended and makes the method's
behavior consistent with its type hint.
---------
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
1 parent cff68e6 commit 4b3c4f6
1 file changed
+0
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
90 | 89 | | |
91 | 90 | | |
92 | 91 | | |
| |||
168 | 167 | | |
169 | 168 | | |
170 | 169 | | |
171 | | - | |
172 | | - | |
173 | 170 | | |
174 | 171 | | |
175 | 172 | | |
| |||
0 commit comments