comparison src/DLD-FUNCTIONS/gcd.cc @ 10552:394a83606f03

avoid deprecated function warnings from GCC
author John W. Eaton <jwe@octave.org>
date Fri, 23 Apr 2010 14:58:29 -0400
parents d0ce5e973937
children 89f4d7e294cc
comparison
equal deleted inserted replaced
10551:fb14397f73cb 10552:394a83606f03
106 } 106 }
107 107
108 bool all_args_scalar = true; 108 bool all_args_scalar = true;
109 bool any_single = false; 109 bool any_single = false;
110 110
111 dim_vector dv(1); 111 dim_vector dv (1, 1);
112 112
113 for (int i = 0; i < nargin; i++) 113 for (int i = 0; i < nargin; i++)
114 { 114 {
115 if (! args(i).is_scalar_type ()) 115 if (! args(i).is_scalar_type ())
116 { 116 {