aboutsummaryrefslogtreecommitdiff
path: root/embedding_example/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'embedding_example/main.c')
-rw-r--r--embedding_example/main.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/embedding_example/main.c b/embedding_example/main.c
index 4e70892..4c6459c 100644
--- a/embedding_example/main.c
+++ b/embedding_example/main.c
@@ -49,12 +49,6 @@ void propagate(float for_fun) {
}
/* avoid gc */
nerv_matrix_host_float_data_retain(input);
- nerv_matrix_host_float_data_retain(input);
- nerv_matrix_host_float_data_retain(input);
- nerv_matrix_host_float_data_retain(input);
- nerv_matrix_host_float_data_retain(output);
- nerv_matrix_host_float_data_retain(output);
- nerv_matrix_host_float_data_retain(output);
nerv_matrix_host_float_data_retain(output);
luaT_pushudata(L, input, nerv_matrix_host_float_tname);