diff liboctave/CollocWt.cc @ 1870:34c0a016c6f0

[project @ 1996-02-04 11:55:23 by jwe]
author jwe
date Sun, 04 Feb 1996 11:55:23 +0000
parents 2ffe49eb95a5
children 1281a23a34dd
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");