| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| y = np.asarray(y).flatten() | ||
|
|
||
| n_steps = len(u) | ||
|
|
There was a problem hiding this comment.
no need for this new line
Sorry, something went wrong.
| theta_hat = rls._theta_hat | ||
| theta_hat = np.array(theta_hat).flatten() |
There was a problem hiding this comment.
| theta_hat = rls._theta_hat | |
| theta_hat = np.array(theta_hat).flatten() | |
| theta_hat = np.array(rls._theta_hat).flatten() |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
The script crashed on Python 3.13.7 with NumPy 2.4.2. The crash was caused by stricter rules introduced for scalar promotion and array indexing.
NumPy 2.0 removed the legacy behavior that allowed "Rank-1" arrays (e.g., the result of indexing into a column vector) to be implicitly cast as scalars during assignment to a single matrix index.