Custom Query (545 matches)
Results (145 - 147 of 545)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#196 | fixed | Bug fix in variant.h + hide doc | ||
#197 | fixed | MaxWeightedMatching and MaxWeightedPerfectMatcing crash | ||
Description |
The following code crashes with the attach .lgf file, using either MaxWeightedMatching or MaxWeightedPerfectMatching #include <lemon/max_matching.h> #include <lemon/smart_graph.h> #include <lemon/lgf_reader.h> using namespace lemon; int main() { typedef SmartGraph Graph; Graph g; Graph::EdgeMap<int> w(g); GraphReader<Graph>(g,std::cin).edgeMap("weight",w).run(); MaxWeightedMatching<Graph> mwm(g,w); //MaxWeightedPerfectMatching<Graph> mwm(g,w); mwm.run(); |
|||
#199 | fixed | std::isnan() is not available with all compiler | ||
Description |
We should provide an own implementation like this: inline bool isnan(double v) { return v!=v; }
Of course, this function can optionally use |
Note: See TracQuery
for help on using queries.