Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas.hammerl committed Feb 23, 2009
1 parent 57e354d commit d332c3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion acotreewidth/trunk/include/acotreewidth/decomp.h
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ template <class T> class DecompProblem : public OptimizationProblem, public Eval

void added_vertex_to_tour(unsigned int vertex) {
if (use_heuristic_) {
vertex_weight_[vertex] = elim_graph_->get_degree(vertex) * 1.0 / elim_graph_->number_of_vertices();
vertex_weight_[vertex] = elim_graph_->get_degree(vertex) * (1.0 / elim_graph_->number_of_vertices());
elim_graph_->eliminate(vertex);
vertices_eliminated_++;
}
Expand Down

0 comments on commit d332c3b

Please sign in to comment.