Mercurial > hg > octave-nkf
diff liboctave/dMatrix.cc @ 1365:9b2654476502
[project @ 1995-09-05 23:44:41 by jwe]
author | jwe |
---|---|
date | Tue, 05 Sep 1995 23:50:05 +0000 |
parents | 7eb93d12654c |
children | 9f9131a8d706 |
line wrap: on
line diff
--- a/liboctave/dMatrix.cc +++ b/liboctave/dMatrix.cc @@ -529,7 +529,7 @@ } else { - double *dummy; + double *dummy = 0; F77_FCN (dgedi, DGEDI) (tmp_data, nr, nc, ipvt, dummy, z, 1); } @@ -2187,10 +2187,10 @@ return is; } -// Read an array of data froma file in binary format. +// Read an array of data from a file in binary format. int -Matrix::read (FILE *fptr, char *type) +Matrix::read (FILE *fptr, const char *type) { // Allocate buffer pointers. @@ -2267,7 +2267,7 @@ // Write the data array to a file in binary format. int -Matrix::write (FILE *fptr, char *type) +Matrix::write (FILE *fptr, const char *type) { // Allocate buffer pointers.