diff options
author | Patrick Simianer <p@simianer.de> | 2015-01-22 20:44:37 +0100 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2015-01-22 20:44:37 +0100 |
commit | 556dc935c7a2d8df78a35447d20d71b4bf6e391a (patch) | |
tree | 730ab32197dfa179624337d8bd7d89cb969636d8 | |
parent | 3dcf749695b64954eef081f81043d9f4a5e37b64 (diff) |
fixed minimal_decoder.cc
-rw-r--r-- | decoder/minimal_decoder.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/decoder/minimal_decoder.cc b/decoder/minimal_decoder.cc index 0aa281ae..a9eb36bc 100644 --- a/decoder/minimal_decoder.cc +++ b/decoder/minimal_decoder.cc @@ -22,7 +22,7 @@ int main(int argc, char** argv) { ReadFile rf(argv[1]); Hypergraph hg; - HypergraphIO::ReadFromJSON(rf.stream(), &hg); + HypergraphIO::ReadFromBinary(rf.stream(), &hg); SparseVector<double> v; ifstream f(argv[2]); string line; @@ -41,5 +41,7 @@ int main(int argc, char** argv) clock_t end = clock(); double elapsed_secs = double(end - begin) / CLOCKS_PER_SEC; cout << elapsed_secs << " s" << endl; + + return 0; } |