On 23-Oct-2017 23:19, Thomas Holder wrote:
drand48() returns a float in [0,1) whereas rand() returns an integer
in [0,MAX_RAND].
The usual trick (this comes up frequently on mingw) is to replace
drand48 with
(rand() / (RAND_MAX + 1.0))
Regards,
David Mathog
mat...@caltech.edu
Manager, Seq
Hi David,
ply_c.h is part of the VMD molfile plugins.
Would the following patch fix it for you?
--- a/contrib/uiuc/plugins/molfile_plugin/src/ply_c.h
+++ b/contrib/uiuc/plugins/molfile_plugin/src/ply_c.h
@@ -3121,7 +3121,7 @@ void *get_new_props_ply(PlyFile *ply)
}
/* in case we need a ra