Skip to content

Commit

Permalink
Merge pull request #116 from shapelets/fix/findBestNOccurrencesCBindings
Browse files Browse the repository at this point in the history
  • Loading branch information
jrecuerda authored Jun 11, 2019
2 parents 0b4bf98 + ef22742 commit 6ae045c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/khiva/matrix.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ void findBestNOccurrences(af::array q, af::array t, long n, af::array &distances
af::sort(sortedDistances, sortedIndexes, distancesGlobal);

indexes = sortedIndexes(af::seq(n), af::span, af::span);
distances = sortedDistances(af::seq(n), af::span, af::span).as(t.type());
distances = sortedDistances(af::seq(n), af::span, af::span);
}

void stomp(af::array ta, af::array tb, long m, af::array &profile, af::array &index) {
Expand Down

0 comments on commit 6ae045c

Please sign in to comment.