<div dir="ltr"><div><div><div><div>Hi all,<br><br></div>I could not find this as reported yet so, here it goes:<br><br>init_ewald_tab allocates space (snew(*et, 1);) for the *et memory reference that is passed to it.<br><br>
</div>In all places I saw it being called the reference passed is not of a pointer but always of a normal variable.<br></div><br>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.<br>
<br></div>Kind regards,<br><br>Rui Fartaria<br><br><br><div><div><div><br><br></div></div></div></div>