Small bug in ngenic.cc (Gadget-4)

From: Andrés Nicolás Ruiz <andres.ruiz_at_unc.edu.ar>
Date: Wed, 2 Dec 2020 17:49:42 -0300

Dear list,

I have noticed that the function print_spec(), line 312 in ngenic.cc,
should be located before the line 306

if (All.PowerSpectrumType == 2) free_power_table();

to avoid an error when using a tabulated power spectrum to generate IC.

Cheers,

-- 
Dr. Andrés Nicolás Ruiz
Instituto de Astronomía Teórica y Experimental
Observatorio Astronómico de Córdoba
Laprida 854 - X5000BGR - Córdoba, República Argentina
Teléfono: +54-351-5353776 int 75615
e-mail: andres.ruiz_at_unc.edu.ar, anic.ruiz_at_gmail.com
Web: http://www.iate.oac.uncor.edu/~andres/index.html
Received on 2020-12-02 21:53:41

This archive was generated by hypermail 2.3.0 : 2023-01-10 10:01:32 CET