# HG changeset patch # User jwe # Date 755184287 0 # Node ID 5ba769d183b92989d5d09a81653218588899c187 # Parent 022be9382d503fa7e7fbb7c5233ebf7e12be2bbc [project @ 1993-12-06 13:24:47 by jwe] diff --git a/liboctave/Array.cc b/liboctave/Array.cc --- a/liboctave/Array.cc +++ b/liboctave/Array.cc @@ -706,8 +706,7 @@ template DiagArray::DiagArray (int n, const T& val) : Array (n, val) { - nr = 0; - nc = 0; + nr = nc = n; } template