Changeset 2163 for trunk/src/MathUtils.cpp
- Timestamp:
- 05/10/11 15:02:56 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/MathUtils.cpp
r2127 r2163 133 133 const Vector<Float>& in, const Vector<Bool>& mask, 134 134 Bool relaxed, Bool ignoreOther) { 135 (void) ignoreOther; //suppress unused warning 135 136 Vector< Vector<Float> > weights(8); 136 137 Vector<Float> vals(3); … … 181 182 float width) 182 183 { 183 Int hwidth = Int(width+0.5);184 Int fwidth = hwidth*2+1;184 uInt hwidth = Int(width+0.5); 185 uInt fwidth = hwidth*2+1; 185 186 out.resize(in.nelements()); 186 187 outflag.resize(flag.nelements()); … … 189 190 Float medval = ms.add(const_cast<Vector<Float>& >(in)(sl), 190 191 const_cast<Vector<Bool>& >(flag)(sl)); 192 (void) medval;//suppress unused warning 191 193 uInt n = in.nelements(); 192 194 for (uInt i=hwidth; i<(n-hwidth); ++i) { … … 208 210 float width, int order) 209 211 { 210 Int hwidth = Int(width+0.5);211 Int fwidth = hwidth*2+1;212 uInt hwidth = Int(width+0.5); 213 uInt fwidth = hwidth*2+1; 212 214 out.resize(in.nelements()); 213 215 outmask.resize(mask.nelements());
Note: See TracChangeset
for help on using the changeset viewer.