Closed carterbox closed 3 months ago
Hello @carterbox! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:
src/tike/ptycho/solvers/lstsq.py
:Line 506:81: E501 line too long (87 > 80 characters)
src/tike/ptycho/solvers/rpie.py
:Line 333:81: E501 line too long (94 > 80 characters) Line 385:81: E501 line too long (87 > 80 characters)
Purpose
Avoid deprecation warnings and fix errors from NumPy 2.0 API.
Approach
Ran the tests and fixed errors and deprecation warnings related to type casting from complex to real and from Python types to NumPy types.
Pre-Merge Checklists
Submitter
Reviewer