BaiGang / sofia-ml

Automatically exported from code.google.com/p/sofia-ml
0 stars 0 forks source link

Assertion failure in sf-kmeans-methods_test #8

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Grab source from SVN.
2. cd cluster-src/
3. make all_test

What is the expected output? What do you see instead?

Test fails with:

    sf-kmeans-methods_test: sf-kmeans-methods_test.cc:50: int main(int, char**):
    Assertion `cluster_centers_3->ClusterCenter(0).ValueOf(1) == 1.0' failed.

Adding some debug just before the assert failure resulting in:

    cluster_centers_3->ClusterCenter(0).ValueOf(1) : 0 (should be 1.0)

What version of the product are you using? On what operating system?

SVN version:

    r25 | dsculley@google.com | 2010-04-28 04:52:54 +1000 (Wed, 28 Apr 2010) | 1 line

Running on x86_64 linux with gcc version 4.7.2 (Debian 4.7.2-5).

Please provide any additional information below.

Original issue reported on code.google.com by erik.de....@gmail.com on 17 Feb 2013 at 12:28