etmc / tmLQCD

tmLQCD is a freely available software suite providing a set of tools to be used in lattice QCD simulations. This is mainly a HMC implementation (including PHMC and RHMC) for Wilson, Wilson Clover and Wilson twisted mass fermions and inverter for different versions of the Dirac operator. The code is fully parallelised and ships with optimisations for various modern architectures, such as commodity PC clusters and the Blue Gene family.
http://www.itkp.uni-bonn.de/~urbach/software.html
GNU General Public License v3.0
32 stars 47 forks source link

utils_construct_writer checks for NULL ineffective #470

Open kostrzewa opened 5 years ago

kostrzewa commented 5 years ago

When the writer is constructed in io/utils_construct_writer.c, there are checks for NULL. However, writer is of type WRITER**. Thus, the checks should be *writer == NULL, correct?

kostrzewa commented 5 years ago

Just assigned to have another pair of eyes look at it