[gmx-developers] Minor bug in ewald.c:init_ewald_tab
rui.fartaria at gmail.com
Thu May 15 19:32:37 CEST 2014
Sorry, my bad. Forget about this. Did not notice the type of et is already
Sorry again, I’ll be more careful next time.
On Thu, May 15, 2014 at 5:54 PM, Rui Fartaria <rui.fartaria at gmail.com>wrote:
> Hi all,
> 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.
> Kind regards,
> Rui Fartaria
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gromacs.org_gmx-developers