fix memory error in testSelectOutput
Compare changes
+ 2
− 0
@@ -566,8 +566,10 @@ void cosmology_init_no_cosmo(struct cosmology *c) {
@@ -566,8 +566,10 @@ void cosmology_init_no_cosmo(struct cosmology *c) {
I found the bug in testSelectOutput
with intel.
@matthieu, in the cosmology, you have a method called cosmology_clean
that should be called only with cosmology. I guess it would be cleaner if you can call it without cosmology (even if it does nothing). Are you fine if I am implementing this change?