Opened 8 years ago

Last modified 6 years ago

#10206 new Bugs

graph/kamada_kawai: remove calculation of unused debug variable E

Reported by: totto@… Owned by: Jeremiah Willcock
Milestone: To Be Determined Component: graph
Version: Boost 1.55.0 Severity: Optimization
Keywords: Cc:

Description

The debugging output, which was removed in <https://svn.boost.org/trac/boost/ticket/6239>, printed the variable E.

The calculation of of this variable E remained in the code. The attached patch removes this.

Attachments (1)

remove-computation-of-debug-only-variable.patch (1.9 KB ) - added by totto@… 8 years ago.

Download all attachments as: .zip

Change History (2)

comment:1 by Murray Cumming <murrayc@…>, 6 years ago

This has not been applied yet: https://github.com/boostorg/graph/blob/develop/include/boost/graph/kamada_kawai_spring_layout.hpp#L267

You might have more luck with a github pull request. (I am not a boost maintainer)

Note: See TracTickets for help on using tickets.