[gmx-developers] Minor bug in ewald.c:init_ewald_tab
rui.fartaria at gmail.com
Thu May 15 18:54:31 CEST 2014
I could not find this as reported yet so, here it goes:
init_ewald_tab allocates space (snew(*et, 1);) for the *et memory reference
that is passed to it.
In all places I saw it being called the reference passed is not of a
pointer but always of a normal variable.
Anyway, I think the correct procedure here would be for the caller to
allocate space and then call init_ewald_tab. This is because the function
does not know what is being passed to it.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gromacs.org_gmx-developers