Skip to content

Commit e2be690

Browse files
authored
get_tensor should return pmtv::Tensor, not std::vector (#122)
Signed-off-by: Ivan Čukić <ivan.cukic@kdab.com>
1 parent c9bc7be commit e2be690

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/pmtv/pmt.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ namespace pmtv {
3030
}
3131

3232
template<class T, class V>
33-
std::vector<T> &get_tensor(V& value) {
33+
pmtv::Tensor<T> &get_tensor(V& value) {
3434
return std::get<pmtv::Tensor<T>>(value);
3535
}
3636

0 commit comments

Comments
 (0)