Skip to content

Commit

Permalink
MAINT: save work.
Browse files Browse the repository at this point in the history
  • Loading branch information
oddkiva committed Aug 1, 2022
1 parent 4dd632f commit 3d66cd8
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,9 @@ auto reconstruct_black_square_from_corner(
auto det = -1.f;
for (const auto& e: edges)
{
if (e == edge)
continue;

auto rotation = Eigen::Matrix2f{};
rotation.col(0) = edge_grads[edge].normalized();
rotation.col(1) = edge_grads[e].normalized();
Expand Down Expand Up @@ -165,6 +168,8 @@ auto reconstruct_white_square_from_corner(
auto det = 1.f;
for (const auto& e: edges)
{
if (e == edge)
continue;
auto rotation = Eigen::Matrix2f{};
rotation.col(0) = edge_grads[edge].normalized();
rotation.col(1) = edge_grads[e].normalized();
Expand Down

0 comments on commit 3d66cd8

Please sign in to comment.