Open maxecharles opened 7 months ago
This would be a Zodiax side fix, probably either by pre-processing the leaves into arrays or using a different equinox filter function. Will need to check how it interacts with jax.grad calls though to make a final call
Related to this
Zodiax
issue, where the gradients of afloat
returnsNone
.dl.PointSource
enforces flux to be a float.This issue was fixed by setting it to a jax array in the same fashion as the position:
I can push this if need be or would it be better just to fix it in Zodiax?