diff options
author | unknown <niruc@NIRUC-M6600.redmond.corp.microsoft.com> | 2013-04-02 21:23:16 +0400 |
---|---|---|
committer | unknown <niruc@NIRUC-M6600.redmond.corp.microsoft.com> | 2013-04-02 21:23:16 +0400 |
commit | 11cb4f2f6c799a33e88df1152e3c03672ba37d95 (patch) | |
tree | 8b8b5a188df1d4e7333eee5a8556e14204bca3f4 /vowpalwabbit/vw.h | |
parent | 3b7ebda4c71914b792f9769940ad7fbafefa5ce4 (diff) |
fix bug on passing vw as struct
Diffstat (limited to 'vowpalwabbit/vw.h')
-rw-r--r-- | vowpalwabbit/vw.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vowpalwabbit/vw.h b/vowpalwabbit/vw.h index 59566f2b..4f185464 100644 --- a/vowpalwabbit/vw.h +++ b/vowpalwabbit/vw.h @@ -18,7 +18,7 @@ namespace VW { (1) Some commandline parameters do not make sense as a library. (2) The code is not yet reentrant. */ - vw initialize(string s); + vw* initialize(string s); void cmd_string_replace_value( string& cmd, string flag_to_replace, string new_value ); @@ -77,6 +77,7 @@ namespace VW { void add_label(example* ec, float label, float weight = 1, float base = 0); //notify VW that you are done with the example. void finish_example(vw& all, example* ec); + } #endif |