DifferentiableUniverseInitiative / flowpm

Particle Mesh simulation in TensorFlow
https://flowpm.readthedocs.io/
MIT License
90 stars 20 forks source link

Validating the tensorflow interpolation function #68

Closed EiffL closed 3 years ago

EiffL commented 3 years ago

@dlanzieri noticed that in some situations, using interp_tf can return NaN value. @dlanzieri can you find a MWE that reproduces your problem?

EiffL commented 3 years ago

I found the problem ;-) and also a fix \o/