Skip to content

Commit 6ae045c

Browse files
authored
Merge pull request #116 from shapelets/fix/findBestNOccurrencesCBindings
2 parents 0b4bf98 + ef22742 commit 6ae045c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/khiva/matrix.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,7 @@ void findBestNOccurrences(af::array q, af::array t, long n, af::array &distances
553553
af::sort(sortedDistances, sortedIndexes, distancesGlobal);
554554

555555
indexes = sortedIndexes(af::seq(n), af::span, af::span);
556-
distances = sortedDistances(af::seq(n), af::span, af::span).as(t.type());
556+
distances = sortedDistances(af::seq(n), af::span, af::span);
557557
}
558558

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

0 commit comments

Comments
 (0)