cleanhistory -> clearhistory

This commit is contained in:
Ronan Collobert
2012-02-08 10:57:40 +01:00
parent 068130bafc
commit 7109cbbdd2

View File

@ -971,7 +971,7 @@ static void THTensor_random1__(THTensor *self, long b)
method:register(string.format("m_torch_%sMath__", Tensor))
interface:print(method:tostring())
method:cleanhistory()
method:clearhistory()
interface:register(string.format("torch_%sMath__", Tensor))
interface:print(string.gsub([[