Skip to content

Conversation

@Shrishagk
Copy link

Summary

This PR fixes a breaking issue in the Grid-based strong lensing pipeline caused by an update to the function:

DifferentiableLensing.make_log_grid()

The function signature in the current repository requires an additional argument:

make_log_grid(a, b, N, c)

However, several notebooks and scripts still call the older 3-argument version:

make_log_grid(a, b, N)

This leads to the runtime error:

TypeError: make_log_grid() missing 1 required positional argument: 'c'

Testing

1.Verified log grid generation runs without errors
2.Forward lensing and grid mapping work as expected
3No changes to numerical outputs beyond expected log-grid configuration

This fix was discovered while working on PR #112.
This PR isolates the bug fix related to make_log_grid argument mismatch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant