well, no more segfaults -> now its getting hard to debug ...
[physik/posic.git] / moldyn.h
index ae133f7..58302fb 100644 (file)
--- a/moldyn.h
+++ b/moldyn.h
@@ -296,7 +296,7 @@ int moldyn_log_shutdown(t_moldyn *moldyn);
 int create_lattice(t_moldyn *moldyn,u8 type,double lc,int element,double mass,
                    u8 attr,u8 bnum,int a,int b,int c);
 int add_atom(t_moldyn *moldyn,int element,double mass,u8 bnum,u8 attr,
-             t_3dvec r,t_3dvec v);
+             t_3dvec *r,t_3dvec *v);
 int destroy_atoms(t_moldyn *moldyn);
 
 int thermal_init(t_moldyn *moldyn);