Commit e0d242da authored by jay's avatar jay
Browse files

Since P has 9 elements, require at least 9 residuals

parent 5f2f5d7a
Loading
Loading
Loading
Loading
+1 −1
Changes for autocnet/transformation/transformations.py: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -352,7 +352,7 @@ class FundamentalMatrix(TransformationMatrix):
            pt = self.x1.loc[self.mask].T
            pt1 = self.x2.loc[self.mask].T

            if pt.shape[1] < 8 or pt1.shape[1] < 8:
            if pt.shape[1] < 9 or pt1.shape[1] < 9:
                warnings.warn("Unable to apply MLE.  Not enough correspondences.")
                return