summaryrefslogtreecommitdiffstats
path: root/src/bltVecCmd.C
diff options
context:
space:
mode:
authorjoye <joye>2015-06-25 15:46:42 (GMT)
committerjoye <joye>2015-06-25 15:46:42 (GMT)
commit945c8cd8efad48786d7fb8c5fcb88ca00c230977 (patch)
tree4fcbf73146aa081351cb7e64f446d0edd7417808 /src/bltVecCmd.C
parent0a2c6340848a423fd27745507f467c13d73eba98 (diff)
downloadblt-945c8cd8efad48786d7fb8c5fcb88ca00c230977.zip
blt-945c8cd8efad48786d7fb8c5fcb88ca00c230977.tar.gz
blt-945c8cd8efad48786d7fb8c5fcb88ca00c230977.tar.bz2
*** empty log message ***
Diffstat (limited to 'src/bltVecCmd.C')
-rw-r--r--src/bltVecCmd.C4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/bltVecCmd.C b/src/bltVecCmd.C
index e9af214..e4581dc 100644
--- a/src/bltVecCmd.C
+++ b/src/bltVecCmd.C
@@ -1239,11 +1239,7 @@ static int RandomOp(Vector *vPtr, Tcl_Interp* interp,
int objc, Tcl_Obj* const objv[])
{
for (int i = 0; i < vPtr->length; i++)
-#ifdef _WIN32
- vPtr->valueArr[i] = double(rand())/RAND_MAX;
-#else
vPtr->valueArr[i] = drand48();
-#endif
if (vPtr->flush)
Vec_FlushCache(vPtr);