Skip to content

Commit

Permalink
lua example now erases cruft
Browse files Browse the repository at this point in the history
  • Loading branch information
Soeren Sonnenburg committed Aug 25, 2011
1 parent 967a7f2 commit 1cf4605
Showing 1 changed file with 10 additions and 0 deletions.
@@ -1,3 +1,4 @@
require 'os'
require 'modshogun'
require 'load'

Expand Down Expand Up @@ -113,6 +114,15 @@ function serialization_complex_example(num, dist, dim, C, width)
check_status(status)
new_svm:train()

os.remove("blaah.h5")
os.remove("blaah.asc")
os.remove("blaah.json")
os.remove("blaah.xml")
os.remove("blaah.h5")
os.remove("blaah.asc")
os.remove("blaah.json")
os.remove("blaah.xml")

return svm,new_svm
end

Expand Down

0 comments on commit 1cf4605

Please sign in to comment.