comparison liboctave/MatrixType.cc @ 11501:331fcc41ca23

data member initialization fixes
author John W. Eaton <jwe@octave.org>
date Thu, 13 Jan 2011 03:04:51 -0500
parents 0e05ed9f2a62
children fd0a3ac60b0e
comparison
equal deleted inserted replaced
11500:7aeb4eb7403f 11501:331fcc41ca23
45 lower_band (0), dense (false), full (false), nperm (0), perm (0) { } 45 lower_band (0), dense (false), full (false), nperm (0), perm (0) { }
46 46
47 MatrixType::MatrixType (const MatrixType &a) 47 MatrixType::MatrixType (const MatrixType &a)
48 : typ (a.typ), sp_bandden (a.sp_bandden), bandden (a.bandden), 48 : typ (a.typ), sp_bandden (a.sp_bandden), bandden (a.bandden),
49 upper_band (a.upper_band), lower_band (a.lower_band), 49 upper_band (a.upper_band), lower_band (a.lower_band),
50 dense (a.dense), full (a.full), nperm (a.nperm) 50 dense (a.dense), full (a.full), nperm (a.nperm), perm (0)
51 { 51 {
52 if (nperm != 0) 52 if (nperm != 0)
53 { 53 {
54 perm = new octave_idx_type [nperm]; 54 perm = new octave_idx_type [nperm];
55 for (octave_idx_type i = 0; i < nperm; i++) 55 for (octave_idx_type i = 0; i < nperm; i++)