use fill::none to avoid default zeroing
This commit is contained in:
@@ -76,7 +76,7 @@ typename MatType::elem_type SA<CoolingScheduleType>::Optimize(
|
||||
size_t sweepCounter = 0;
|
||||
|
||||
BaseMatType accept(rows, cols, arma::fill::zeros);
|
||||
BaseMatType moveSize(rows, cols);
|
||||
BaseMatType moveSize(rows, cols, arma::fill::none);
|
||||
moveSize.fill(initMoveCoef);
|
||||
|
||||
terminate |= Callback::BeginOptimization(*this, function, iterate,
|
||||
|
||||
Reference in New Issue
Block a user