# HG changeset patch # User Peter Kovacs # Date 2011-10-23 22:42:14 # Node ID 7f6eeffe3cd18a986893f4afdaf01403aafd0cd3 # Parent 98961d3556a70c3a9967e35774e4af9357aa7a1a Fix windows-specific compilation error (#429) diff --git a/test/max_cardinality_search_test.cc b/test/max_cardinality_search_test.cc --- a/test/max_cardinality_search_test.cc +++ b/test/max_cardinality_search_test.cc @@ -117,7 +117,7 @@ maxcard.addSource(s); maxcard.start(x); - check(maxcard.processed(s) and !maxcard.processed(x) and + check(maxcard.processed(s) && !maxcard.processed(x) && !maxcard.processed(y), "Wrong processed()!"); a=maxcard.nextNode(); @@ -127,7 +127,7 @@ check(maxcard.processed(a), "Wrong processNextNode()!"); maxcard.start(); - check(maxcard.cardinality(x)==2 and maxcard.cardinality(y)>=4, + check(maxcard.cardinality(x)==2 && maxcard.cardinality(y)>=4, "Wrong cardinalities!"); }