Mercurial > hg > octave-lojdl
changeset 1470:3d314307e65f
[project @ 1995-09-22 09:15:57 by jwe]
author | jwe |
---|---|
date | Fri, 22 Sep 1995 09:15:57 +0000 |
parents | 5e92628fc136 |
children | 07c136b41611 |
files | liboctave/Array.cc |
diffstat | 1 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/liboctave/Array.cc +++ b/liboctave/Array.cc @@ -226,6 +226,7 @@ { (*current_liboctave_error_handler) ("range error"); T foo; + static T *bar = &foo; return foo; } return elem (n); @@ -476,6 +477,7 @@ { (*current_liboctave_error_handler) ("range error"); T foo; + static T *bar = &foo; return foo; } return Array<T>::elem (d1*j+i); @@ -489,6 +491,7 @@ { (*current_liboctave_error_handler) ("range error"); T foo; + static T *bar = &foo; return foo; } return Array<T>::elem (d1*j+i); @@ -696,6 +699,7 @@ { (*current_liboctave_error_handler) ("range error"); T foo; + static T *bar = &foo; return foo; } return Array2<T>::elem (i, d1*k+j); @@ -709,6 +713,7 @@ { (*current_liboctave_error_handler) ("range error"); T foo; + static T *bar = &foo; return foo; } return Array2<T>::elem (i, d2*k+j); @@ -893,6 +898,7 @@ { (*current_liboctave_error_handler) ("range error"); T foo; + static T *bar = &foo; return foo; } return (r == c) ? Array<T>::elem (r) : T (0); @@ -906,6 +912,7 @@ { (*current_liboctave_error_handler) ("range error"); T foo; + static T *bar = &foo; return foo; } return (r == c) ? Array<T>::elem (r) : T (0);