rodluger / Limbdark.jl

Analytical transit light curves for limb darkened stars
MIT License
14 stars 4 forks source link

Fix derivatives when calling with the transit structure #41

Closed ericagol closed 6 years ago

ericagol commented 6 years ago
ericagol commented 6 years ago

It turns out that the grad variable in the transit structure was set to false. Also, in the cases when flux is zero or one, I was not returning zero gradients.

ericagol commented 6 years ago

This has been fixed in the master branch, so closing for now.