summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/base/src/C/vector-aux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/base/src/C/vector-aux.c b/packages/base/src/C/vector-aux.c
index ec6ec80..dda47cb 100644
--- a/packages/base/src/C/vector-aux.c
+++ b/packages/base/src/C/vector-aux.c
@@ -705,7 +705,7 @@ int saveMatrix(char * file, char * format, KDMAT(a)){
705#pragma message "randomVector is not thread-safe in OSX" 705#pragma message "randomVector is not thread-safe in OSX"
706 706
707inline double urandom() { 707inline double urandom() {
708 const long max_random = 2147483647 // 2**31 - 1 708 const long max_random = 2147483647; // 2**31 - 1
709 return (double)random() / (double)max_random; 709 return (double)random() / (double)max_random;
710} 710}
711 711