SubVector -> Vector to make clang on Mac OS happy
parent
542d396d3b
commit
07aebc3014
|
|
@ -82,7 +82,7 @@ void optimizeWildfire(const boost::shared_ptr<CLIQUE>& clique, double threshold,
|
||||||
for(it = (*clique)->beginFrontals(); it!=(*clique)->endFrontals(); it++) {
|
for(it = (*clique)->beginFrontals(); it!=(*clique)->endFrontals(); it++) {
|
||||||
if(!valuesChanged) {
|
if(!valuesChanged) {
|
||||||
const Vector& oldValue(originalValues[it - (*clique)->beginFrontals()]);
|
const Vector& oldValue(originalValues[it - (*clique)->beginFrontals()]);
|
||||||
const SubVector& newValue(delta[*it]);
|
const Vector& newValue(delta[*it]);
|
||||||
if((oldValue - newValue).lpNorm<Eigen::Infinity>() >= threshold) {
|
if((oldValue - newValue).lpNorm<Eigen::Infinity>() >= threshold) {
|
||||||
valuesChanged = true;
|
valuesChanged = true;
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue