Skip to content

Commit 8d3ef0e

Browse files
committed
A possible fix
1 parent bf219a9 commit 8d3ef0e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libtorchaudio/forced_align/gpu/compute.cu

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,10 +257,10 @@ void forced_align_impl(
257257

258258
template <typename scalar_t>
259259
const auto forced_align_long_impl =
260-
forced_align_impl<scalar_t, ScalarType::Long>;
260+
&forced_align_impl<scalar_t, ScalarType::Long>;
261261

262262
template <typename scalar_t>
263-
const auto forced_align_int_impl = forced_align_impl<scalar_t, ScalarType::Int>;
263+
const auto forced_align_int_impl = &forced_align_impl<scalar_t, ScalarType::Int>;
264264

265265
std::tuple<Tensor, Tensor> compute(
266266
Tensor logProbs,

0 commit comments

Comments
 (0)