help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bsxfun-defs.cc compilation error with 64-bit integers


From: Muhali
Subject: Re: bsxfun-defs.cc compilation error with 64-bit integers
Date: Fri, 14 Oct 2011 09:18:23 -0700 (PDT)

doesn't work, same compilation error. When applying this patch it does:

--- bsxfun-defs.cc      2011-10-14 09:16:15.085655440 -0700
+++ /tmp/bsxfun-defs.cc 2011-10-14 09:16:30.809324516 -0700
@@ -69,8 +69,7 @@
   R *rvec = retval.fortran_vec ();
 
   // Fold the common leading dimensions.
-  int start;
-  octave_idx_type ldr = 1;
+  octave_idx_type start, ldr = 1;
   for (start = 0; start < nd; start++)
     {
       if (dvx(start) != dvy(start))


--
View this message in context: 
http://octave.1599824.n4.nabble.com/bsxfun-defs-cc-compilation-error-with-64-bit-integers-tp3903510p3905408.html
Sent from the Octave - General mailing list archive at Nabble.com.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]