Although I'm not really into this code, shouldn't a divide by zero result in NAN instead of INF? Of course the limit of 1/n with n->0 is INF, but only for n>0. For n<0 (a very small negative value), 1/n actually goes to -INF. At exactly n=0, 1/n is not defined. It's a small detail, but NAN is more accurate here than INF, if we're going to use that.
Best, Bart --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "hugin and other free panoramic software" group. A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/hugin-ptx -~----------~----~----~----~------~----~------~--~---
