]> granicus.if.org Git - graphviz/commit
nearest_neighbor_graph_ann: take array parameters as vector instead of C arrays
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 8 Jan 2022 19:04:08 +0000 (11:04 -0800)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Tue, 11 Jan 2022 15:52:08 +0000 (07:52 -0800)
commitb8d23ff68e7d14a6b12dc0b158518157aa005ecf
tree0cc64e4145371a8d2e150a9fc8ba593760cef194
parenta330dc076e3b1cf4bf15539d496ab822043d3da4
nearest_neighbor_graph_ann: take array parameters as vector instead of C arrays

Now that all calls to this function are in C++, there is no need to degrade to C
data types when calling into it.

Gitlab: #2154
lib/mingle/nearest_neighbor_graph.cpp
lib/mingle/nearest_neighbor_graph_ann.cpp
lib/mingle/nearest_neighbor_graph_ann.h