Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/torch/cwrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.lua b/init.lua
index 429a72c..bd4199d 100644
--- a/init.lua
+++ b/init.lua
@@ -107,7 +107,7 @@ function CInterface:register(name)
self.registry = {}
end
-function CInterface:cleanhistory()
+function CInterface:clearhistory()
self.txt = {}
self.registry = {}
end