]> granicus.if.org Git - graphviz/commit
use empty() to check size() against 0 in VPSC
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 21 Nov 2020 01:20:28 +0000 (17:20 -0800)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 23 Jan 2021 18:29:33 +0000 (10:29 -0800)
commit9250295b471161c0b8fbfc7936771b1c1fb5fc94
tree075e5062ce2a1ad8bf4d4e7e5745eed907da6e65
parentf048c0b3511f5edbc745c61af923a7e9bb486827
use empty() to check size() against 0 in VPSC

This is significantly faster for large vectors.
lib/vpsc/blocks.cpp
lib/vpsc/solve_VPSC.cpp