changeset 1870:34c0a016c6f0

[project @ 1996-02-04 11:55:23 by jwe]
author jwe
date Sun, 04 Feb 1996 11:55:23 +0000
parents 51fd6b03c3bb
children bed9f3e11011
files liboctave/CollocWt.cc
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/liboctave/CollocWt.cc
+++ b/liboctave/CollocWt.cc
@@ -94,7 +94,8 @@
       return;
     }
 
-  nt = n + inc_left + inc_right;
+  int nt = n + inc_left + inc_right;
+
   if (nt < 0)
     {
       error ("total number of collocation points less than zero");