Skip to content

Commit

Permalink
disable set_feature_vector from lua for now
Browse files Browse the repository at this point in the history
it causes a null ptr exception - swig/lua seem not to be able to convert
the table into a CStringFeatures<char> object but 0x0 ...
  • Loading branch information
Soeren Sonnenburg committed May 14, 2012
1 parent d2863d9 commit a4985db
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -13,7 +13,8 @@ function features_string_char_modular(strings)
--print ("length of first string" ..f:get_vector_length(0))
--print ("strings" .. f:get_features())

f:set_feature_vector({"t","e","s","t"}, 0)
--FIXME
--f:set_feature_vector({"t","e","s","t"}, 0)

return f:get_features(), f
end
Expand Down

0 comments on commit a4985db

Please sign in to comment.