File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -214,15 +214,15 @@ computeError( dynamicgraph::Vector& error,int time )
214
214
215
215
const int dim = partialError.size ();
216
216
while ( cursorError+dim>dimError ) // DEBUG It was >=
217
- { dimError *= 2 ; error.resize (dimError, false ); }
217
+ { dimError *= 2 ; error.resize (dimError); }
218
218
219
219
for ( int k=0 ;k<dim;++k ){ error (cursorError++) = partialError (k); }
220
220
sotDEBUG (35 ) << " feature: " << partialError << std::endl;
221
221
sotDEBUG (35 ) << " error: " << error << std::endl;
222
222
}
223
223
224
224
/* If too much memory has been allocated, resize. */
225
- error .resize (cursorError, false );
225
+ error .resize (cursorError);
226
226
} catch SOT_RETHROW;
227
227
228
228
sotDEBUG (35 ) << " error_final: " << error << std::endl;
You can’t perform that action at this time.
0 commit comments