Skip to content

Commit

Permalink
fixed a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
quentin-leboutet committed Jan 18, 2025
1 parent 4dac988 commit 90d33b5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cpp/open3d/geometry/BoundingVolume.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1108,9 +1108,9 @@ OrientedBoundingBox OrientedBoundingBox::CreateFromPointsMinimal(
constexpr double tooCloseToFaceEpsilon = 1e-4;

Eigen::Matrix3d A;
A.row(0) = f2b;
A.row(1) = f1a - f1b;
A.row(2) = f2a - f2b;
A.col(0) = f2b;
A.col(1) = f1a - f1b;
A.col(2) = f2a - f2b;
Eigen::ColPivHouseholderQR<Eigen::Matrix3d> solver(A);
Eigen::Vector3d x = solver.solve(-f1b);
double c = x(0);
Expand Down

0 comments on commit 90d33b5

Please sign in to comment.