]> granicus.if.org Git - graphviz/commit
dijkstra.c: make 'DIST_MAX' a 'DistType' instead of 'double'
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 19 Dec 2021 19:20:02 +0000 (11:20 -0800)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 19 Dec 2021 23:14:36 +0000 (15:14 -0800)
commitc60228a0b6f27e2732f31d4ea95c84531bde469b
tree327e022ff8076bcd8c214d178b97475bfd6c28ef
parentfd175d3ed799854f4805188fcc9c0f06930d9b72
dijkstra.c: make 'DIST_MAX' a 'DistType' instead of 'double'

It is not clear to me why this value was type cast to a `double` when all uses
of it either explicitly or implicitly cast it back to `DistType`.
lib/neatogen/dijkstra.c