Skip to content

Commit

Permalink
[UPDATE] examples.
Browse files Browse the repository at this point in the history
  • Loading branch information
kgryte committed Feb 23, 2015
1 parent 9e18765 commit a7f37a1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ for ( j = 0; j < numSeq; j++ ) {
// Randomly shuffle the data...
shuffle( data );

// Pick the first ten elements...
// Pick the first X elements...
seq[ j ] = data.slice( 0, len+1 );
}

Expand All @@ -127,6 +127,7 @@ len = numSeq;
indices = new Array( len );
for ( i = 0; i < len; i++ ) {
indices[ i ] = new Array( len );
// Exclude indices between each sequence and itself...
indices[ i ][ i ] = NaN;
}
opts = {
Expand Down
3 changes: 2 additions & 1 deletion examples/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ for ( j = 0; j < numSeq; j++ ) {
// Randomly shuffle the data...
shuffle( data );

// Pick the first ten elements...
// Pick the first X elements...
seq[ j ] = data.slice( 0, len+1 );
}

Expand All @@ -52,6 +52,7 @@ len = numSeq;
indices = new Array( len );
for ( i = 0; i < len; i++ ) {
indices[ i ] = new Array( len );
// Exclude indices between each sequence and itself...
indices[ i ][ i ] = NaN;
}
opts = {
Expand Down

0 comments on commit a7f37a1

Please sign in to comment.