Skip to content

Commit

Permalink
Got more tests to pass
Browse files Browse the repository at this point in the history
  • Loading branch information
curran committed Dec 30, 2020
1 parent 92fbd55 commit d9e5780
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/all_pairs_distance.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
import { infinities } from './utils';
import { inverse_permutation } from './permutation';

/**
* Returns a list of distance matrices, computed for the specified
* connected components of a graph, or all the components if none is
Expand Down
1 change: 1 addition & 0 deletions src/bandwidth.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { range } from './range';
import { inverse_permutation } from './permutation';

export function bandwidth(graph, order) {
if (! order)
Expand Down
1 change: 1 addition & 0 deletions src/barycenter_order.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { cmp_number } from './utils';
import { inverse_permutation } from './permutation';
import { debug } from './core';

export function barycenter_order(graph, comps, max_iter) {
Expand Down
2 changes: 1 addition & 1 deletion src/count_crossings.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { permutation } from './permutation';
import { permutation, inverse_permutation } from './permutation';
import { cmp_number } from './utils';
import { zeroes } from './aliases';

Expand Down
1 change: 1 addition & 0 deletions src/cuthill_mckee_order.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { inverse_permutation } from './permutation';

/*jshint loopfunc:true */
export function cuthill_mckee(graph, comp) {
Expand Down
1 change: 1 addition & 0 deletions src/laplacian.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { zeroes } from './aliases';
import { assert } from './debug';
import { inverse_permutation } from './permutation';

export function laplacian(graph, comp) {
var n = comp.length,
Expand Down

0 comments on commit d9e5780

Please sign in to comment.