# HG changeset patch # User deba # Date 1153734640 0 # Node ID a21d1e88d389130d712c1a374783bd495f9f2439 # Parent abd867cf8a9c158f9b861157170e2cb849a37bb2 Omit warning diff -r abd867cf8a9c -r a21d1e88d389 demo/strongly_connected_orientation.cc --- a/demo/strongly_connected_orientation.cc Mon Jul 24 09:49:50 2006 +0000 +++ b/demo/strongly_connected_orientation.cc Mon Jul 24 09:50:40 2006 +0000 @@ -104,7 +104,9 @@ int num_scc = countStronglyConnectedComponents(dgraph); int num_becc = countBiEdgeConnectedComponents(ugraph); - LEMON_ASSERT(num_scc == num_becc, "Wrong Orientation"); + if (num_scc != num_becc) { + std::cerr << "Wrong Orientation" << std::endl; + } return 0; }