diff src/DLD-FUNCTIONS/rand.cc @ 5760:8d7162924bd3

[project @ 2006-04-14 04:01:37 by jwe]
author jwe
date Fri, 14 Apr 2006 04:01:40 +0000
parents 109fdf7b3dcb
children 96cd81ed579e
line wrap: on
line diff
--- a/src/DLD-FUNCTIONS/rand.cc
+++ b/src/DLD-FUNCTIONS/rand.cc
@@ -250,7 +250,7 @@
 
 	    for (int i = 0; i < nargin; i++)
 	      {
-		dims(i) = (octave_idx_type)args(idx+i).int_value ();
+		dims(i) = args(idx+i).int_value ();
 
 		if (error_state)
 		  {