Skip to content
Discussion options

You must be logged in to vote

Thanks @samlange04, this was an excellent report: precise root cause (inf → nan → nan > threshold is False on both the numpy and lax.cond paths), a real-lens reproducer, and a clear explanation of why the nan-safe positions.info masked it. We confirmed it on the pre-fix code, where padded solver output from a JAX-backed analysis gave a zero penalty even for a wildly wrong Einstein radius. Your PR #765 is now merged into PyAutoLens main with your regression tests, and filtering at construction was the right call over a nan-safe max for exactly the reason you gave. It will ship in the next release; until then, anyone running SLaM source_pix/mass_total stages on a JAX-backed analysis should …

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by Jammy2211
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants