summaryrefslogtreecommitdiff
path: root/tnet_io/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'tnet_io/init.c')
-rw-r--r--tnet_io/init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tnet_io/init.c b/tnet_io/init.c
index 7195eb7..3fa7cb8 100644
--- a/tnet_io/init.c
+++ b/tnet_io/init.c
@@ -29,7 +29,7 @@ static int feat_repo_current_tag(lua_State *L) {
static int feat_repo_current_utterance(lua_State *L) {
TNetFeatureRepo *repo = luaT_checkudata(L, 1, nerv_tnet_feat_repo_tname);
- Matrix *utter = tnet_feature_repo_read_utterance(repo);
+ Matrix *utter = tnet_feature_repo_read_utterance(repo, L);
luaT_pushudata(L, utter, nerv_matrix_host_float_tname);
return 1;
}
@@ -67,7 +67,7 @@ static int label_repo_read_utterance(lua_State *L) {
Matrix *utter = tnet_label_repo_read_utterance(repo,
frames,
tnet_feature_repo_current_samplerate(feat_repo),
- tnet_feature_repo_current_tag(feat_repo));
+ tnet_feature_repo_current_tag(feat_repo), L);
luaT_pushudata(L, utter, nerv_matrix_host_float_tname);
return 1;
}