Skip to content

Commit

Permalink
[js] specify which concat called by concat
Browse files Browse the repository at this point in the history
  • Loading branch information
Vindaar committed Feb 19, 2024
1 parent ab3ae78 commit b490b1c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/datamancer/seq_tensor.nim
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,4 @@ template apply2_inline*(t1, t2: untyped, body: untyped): untyped =
let y {.inject.} = t2[i]
t1[i] = body

import seqmath, math
proc concat*[T](ts: varargs[Tensor[T]], axis: int = 0): Tensor[T] = Tensor[T](concat(ts))
proc concat*[T](ts: varargs[Tensor[T]], axis: int = 0): Tensor[T] = Tensor[T](sequtils.concat(ts))

0 comments on commit b490b1c

Please sign in to comment.