changeset 5515:ae35b3381c7a

[project @ 2005-10-27 16:46:07 by jwe]
author jwe
date Thu, 27 Oct 2005 16:46:07 +0000
parents e0011660696c
children b957f4222249
files src/ChangeLog src/DLD-FUNCTIONS/__glpk__.cc
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Thu Oct 27 15:43:29 2005 +0000
+++ b/src/ChangeLog	Thu Oct 27 16:46:07 2005 +0000
@@ -1,5 +1,7 @@
 2005-10-27  John W. Eaton  <jwe@octave.org>
 
+	* DLD-FUNCTIONS/__glpk__.cc (F__glpk__): Declare mrowsA volatile.
+
 	* pt-mat.cc (tm_row_const::tm_row_const_rep::tm_row_const_rep):
 	Ensure that we always have at least two dimensions here.
 	(tm_const::tm_const): Likewise.
--- a/src/DLD-FUNCTIONS/__glpk__.cc	Thu Oct 27 15:43:29 2005 +0000
+++ b/src/DLD-FUNCTIONS/__glpk__.cc	Thu Oct 27 16:46:07 2005 +0000
@@ -445,7 +445,7 @@
   Array<int> rn;
   Array<int> cn;
   ColumnVector a;
-  int mrowsA;
+  volatile int mrowsA;
   volatile int nz = 0;
 
   //-- 2nd Input. A matrix containing the constraints coefficients.