Re: [darktable-devel] Handling of invalid coordinate values in Lensfun/Darktable

2014-09-23 Thread Torsten Bronger
Hallöchen! Sebastian Kraft writes: > Am 23.09.2014 um 07:53 schrieb Torsten Bronger: > >> [...] >> >> I don't see an actual difference between returning 1.6e16, inf, >> or nan. The caller has to special-handle it in either case. > > No, the caller should not have to handle these cases. [...] > >

Re: [darktable-devel] Handling of invalid coordinate values in Lensfun/Darktable

2014-09-23 Thread Sebastian Kraft
Am 23.09.2014 um 07:53 schrieb Torsten Bronger: > Hallöchen! > > johannes hanika writes: > >> if lf returns this magic error value sometimes, maybe it's just a >> matter of fixing the branch that results in this special >> treatment? i think it should be lf's responsibility not to >> randomly retur