diff options
author | Ronan Collobert <ronan@collobert.com> | 2013-10-08 13:49:36 +0400 |
---|---|---|
committer | Ronan Collobert <ronan@collobert.com> | 2013-10-08 13:49:36 +0400 |
commit | 163b2acd070d88b83fb10ca1b8be943dc43f333b (patch) | |
tree | 414dc597438c627322ea686014f03c0f51b49783 /utils.c | |
parent | fbe183c3be90a2fb77a038111b65ab9488787d7e (diff) |
pkg/torch: C89
Diffstat (limited to 'utils.c')
-rw-r--r-- | utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -171,8 +171,8 @@ static int torch_getnumthreads(lua_State *L) static int torch_setnumthreads(lua_State *L) { - int nth = luaL_checkint(L,1); #ifdef _OPENMP + int nth = luaL_checkint(L,1); omp_set_num_threads(nth); #endif return 0; |