diff --git a/src/index.js b/src/index.js index 252260b..1970b60 100644 --- a/src/index.js +++ b/src/index.js @@ -49,3 +49,4 @@ export { graph_connect } from './graph_connect'; export { graph_empty_nodes, graph_empty } from './graph_empty'; export { graph_random_erdos_renyi, graph_random } from './graph_random'; export { hcluster } from './hcluster'; +export { intersect_sorted_ints } from './intersect'; diff --git a/src/intersect.js b/src/intersect.js index f324316..03c44cc 100644 --- a/src/intersect.js +++ b/src/intersect.js @@ -1,4 +1,4 @@ -function intersect_sorted_ints(array1, array2) +export function intersect_sorted_ints(array1, array2) { var ai = 0, bi= 0; var result = [];