Fix crash in cases when first BA step happens with all zero-weighted tracks
This commit is contained in:
parent
8a52e7eeba
commit
895f0f3dff
|
@ -539,9 +539,8 @@ void EuclideanBundleCommonIntrinsics(
|
|||
}
|
||||
|
||||
zero_weight_tracks_flags[marker.track] = false;
|
||||
num_residuals++;
|
||||
}
|
||||
|
||||
num_residuals++;
|
||||
}
|
||||
LG << "Number of residuals: " << num_residuals;
|
||||
|
||||
|
|
Loading…
Reference in New Issue