Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] PCA bug not solved completely

Subject: CGAL users discussion list

List archive

[cgal-discuss] PCA bug not solved completely


Chronological Thread 
  • From: 杨成林 <>
  • To:
  • Subject: [cgal-discuss] PCA bug not solved completely
  • Date: Thu, 10 Sep 2009 15:28:52 +0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=gZY0NYao6wCjey9RF7fjtb+Q7e/mg2+jafPitPFbizoXmpJTWTREBEnDgntGJ+Hxqu oXkWXbTGYWZ7/Jg55CcBbB/9XbgPMrgctg1GVbzhONd0hmTwQrh/1BFPnDGtzUmaI3Cj vmGwX6PNoTTVhd63r96diUrBlGERkds7jb7fc=

Hello
I reported a bug in PCA component in Feb. In CGAL 3.5 beta1 I have seen the change, but I don't think the problem is fixed. 
It is about line 709-710 in PCA_util.h of CGAL 3.4. The condition is too strong for regular case. Now in CGAL 3.5 beta1, it is line 708-709. I think the condition is still too strong, but for degenerate case. To confirm degenerate case, only "eigen_values[1] == eigen_values[2]" is needed. "eigen_values[0] != eigen_values[2]" is not a guarantee of regular case.

--
杨成林



Archive powered by MHonArc 2.6.16.

Top of Page