Rajarshi Guha wrote:


On Wed, Oct 28, 2009 at 11:41 AM, Stefan Kuhn <stefan.kuhn@ebi.ac.uk> wrote:
Hi all,
I just had a look at descriptors and saw that those which need 3d throw an
excpetion if no 3d exists. Only PetitjeanShapeIndexDescriptor return NaN in
that case. Is that intended? I would think it should be uniform.

I agree  - rather than throwing an exception, NaN should be returned


IMHO exceptions are more explanatory , but the behaviour should be uniform anyway.

Best regards,
Nina

--
Rajarshi Guha
NIH Chemical Genomics Center

------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference

_______________________________________________ Cdk-devel mailing list Cdk-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cdk-devel