Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions include/metalldata/metall_graph.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -490,9 +490,9 @@ class metall_graph {
// std::optional<std::string> v_included;
// };

return_code nhops(series_name out_node_series, size_t nhops,
std::vector<std::string> sources,
const where_clause& where = where_clause());
return_code nhops(const series_name& out_node_series, size_t nhops,
const std::vector<std::string>& sources,
const where_clause& where = where_clause());

// TODO: also allow val a function
return_code assign(series_name series_name, const data_types& val,
Expand Down
7 changes: 3 additions & 4 deletions src/libmetalldata/metall_graph.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -551,10 +551,9 @@ metall_graph::return_code metall_graph::degrees2(
return to_return;
}

metall_graph::return_code metall_graph::nhops(series_name out_name,
size_t nhops,
std::vector<std::string> sources,
const where_clause& where) {
metall_graph::return_code metall_graph::nhops(
const series_name& out_name, size_t nhops,
const std::vector<std::string>& sources, const where_clause& where) {
return_code to_return;

if (!out_name.is_node_series()) {
Expand Down