Skip to content

Commit

Permalink
Fix a small bug in pca install-check
Browse files Browse the repository at this point in the history
  • Loading branch information
Shengwen Yang committed Aug 9, 2013
1 parent 52ca6f2 commit 01f256e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ports/postgres/modules/pca/test/pca.sql_in
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,8 @@ SELECT assert(
relative_error(table_a.eigen_values, table_b.eigen_values) < 1e-2
AND
relative_error(
madlib.array_mult(table_a.principal_components, table_a.principal_components),
madlib.array_mult(table_b.principal_components, table_b.principal_components)
array_mult(table_a.principal_components, table_a.principal_components),
array_mult(table_b.principal_components, table_b.principal_components)
) < 1e-2,
'PCA: The two input formats didn''t generate identical results!')
FROM table_a, table_b WHERE table_a.row_id = table_b.row_id;
Expand Down

0 comments on commit 01f256e

Please sign in to comment.