21cmfast / 21cmFAST

Official repository for 21cmFAST: a code for generating fast simulations of the cosmological 21cm signal
MIT License
56 stars 37 forks source link

[BUG] NON_CUBIC_FACTOR #403

Open binnietom opened 2 weeks ago

binnietom commented 2 weeks ago

Hello, I think I found a bug on line 228 of BrightnessTemperatureBox.c.

It is currently "k_z = n_z DELTA_K;" I think it should be "k_z = n_z DELTA_K_PARA;"

If this is not the case please help me understand why! Thanks, Tom

daviesje commented 2 weeks ago

I think you're right, feel free to put up a PR if you'd like to do the fix yourself. Otherwise I'm happy to do it in a day or two