Hi Norman, thanks I applied this to autopano-sift-C SVN.
On Tue 03-Mar-2009 at 22:41 +0000, Norman Yarvin wrote:
>This patch eliminates a couple of rare cases in which autopano-sift-C chooses to
>print an error message and die, rather than doing anything sensible. These
>cases are numerically rather rare (some number has to be exactly zero). I
>haven't thought this patch out to all its consequences, but (a) erroring out
>when some floating-point number is exactly zero, but not when it is almost zero,
>is hardly ever the right thing to do; and (b) whatever the consequences to end
>users, they can hardly be worse than dying with an error. In any case, the
>following patch seemed to fix things for the test case I tried: instead of an
>error message, I got normal, usable output.