lnccbrown / HSSM

Development of HSSM package
Other
82 stars 11 forks source link

Refactor test_analytical_gradient function to use parameterization #553

Closed cpaniaguam closed 3 months ago

cpaniaguam commented 3 months ago

This pull request refactors the test_analytical_gradient function to use parameterization.

Adding helper functions generate_test_data, compute_gradient, and generate_dvectors functions, the test_analytical_gradient function is now parameterized making it more modular and extensible.