diff options
author | Soumith Chintala <soumith@gmail.com> | 2017-01-26 00:26:42 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-26 00:26:42 +0300 |
commit | 7a07afe545b4deae5919d9dc268bfac3d37398c7 (patch) | |
tree | ea2cb89e44de8e73d298e52b9226c48a2b313e60 /THNN.lua | |
parent | ea7ec8b63dce65a352a773b6538953067dae5ac1 (diff) |
Revert "Using accreal instead of real in the API"revert-1109-api
Diffstat (limited to 'THNN.lua')
-rw-r--r-- | THNN.lua | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -73,13 +73,6 @@ local replacements = } } --- gsub(s, 'real', 'float') changes accreal to accfloat. --- typedef accfloat ahead of time. -ffi.cdef("typedef double accfloat;") --- gsub(s, 'real', 'double') changes accreal to accfloat. --- typedef accdouble ahead of time -ffi.cdef("typedef double accdouble;") - for i=1,#replacements do local r = replacements[i] local s = preprocessed |