mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-29 08:34:37 +08:00
Removing using std::...
Change-Id: I584402e2a34869183c1d59071a15d97b216c52fb
This commit is contained in:
@@ -59,8 +59,6 @@
|
||||
|
||||
namespace ceres::internal {
|
||||
|
||||
using std::swap;
|
||||
|
||||
using CovarianceBlocks = std::vector<std::pair<const double*, const double*>>;
|
||||
|
||||
CovarianceImpl::CovarianceImpl(const Covariance::Options& options)
|
||||
@@ -166,7 +164,7 @@ bool CovarianceImpl::GetCovarianceBlockInTangentOrAmbientSpace(
|
||||
const double* parameter_block2 = original_parameter_block2;
|
||||
const bool transpose = parameter_block1 > parameter_block2;
|
||||
if (transpose) {
|
||||
swap(parameter_block1, parameter_block2);
|
||||
std::swap(parameter_block1, parameter_block2);
|
||||
}
|
||||
|
||||
// Find where in the covariance matrix the block is located.
|
||||
|
||||
Reference in New Issue
Block a user