diff liboctave/idx-vector.cc @ 164:e2c950dd96d2

[project @ 1993-10-18 19:32:00 by jwe]
author jwe
date Mon, 18 Oct 1993 19:32:00 +0000
parents 78fd87e624cb
children b6b4d8c513fe
line wrap: on
line diff
--- a/liboctave/idx-vector.cc	Mon Oct 18 19:26:01 1993 +0000
+++ b/liboctave/idx-vector.cc	Mon Oct 18 19:32:00 1993 +0000
@@ -25,9 +25,13 @@
 #pragma implementation
 #endif
 
+#include <iostream.h>
+
+#include "Matrix.h"
+#include "Range.h"
 #include "idx-vector.h"
+#include "user-prefs.h"
 #include "error.h"
-#include "user-prefs.h"
 #include "utils.h"
 
 idx_vector::idx_vector (const idx_vector& a)
@@ -59,7 +63,8 @@
     return ((int) (x - 0.5) - 1);
 }
 
-idx_vector::idx_vector (Matrix& m, int do_ftn_idx, char *rc, int z_len = 0)
+idx_vector::idx_vector (const Matrix& m, int do_ftn_idx,
+			const char *rc, int z_len = 0)
 {
   int nr = m.rows ();
   int nc = m.columns ();
@@ -146,7 +151,7 @@
 }
 
 void
-idx_vector::init_state (char *rc, int z_len = 0)
+idx_vector::init_state (const char *rc, int z_len = 0)
 {
   one_zero = 1;
   num_zeros = 0;