summaryrefslogtreecommitdiff
path: root/vest/mr_vest_map.cc
diff options
context:
space:
mode:
authorredpony <redpony@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-07-09 21:25:41 +0000
committerredpony <redpony@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-07-09 21:25:41 +0000
commit261027816caf7676dbb082ce58da086b5f5cb707 (patch)
tree70bd7c17203c9e16df9f10f66900aa166855b3d8 /vest/mr_vest_map.cc
parent2f18ef81afaed06ab7a1214b4e367db49c9c7606 (diff)
mert comments
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@213 ec762483-ff6d-05da-a07a-a48fb63a330f
Diffstat (limited to 'vest/mr_vest_map.cc')
-rw-r--r--vest/mr_vest_map.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/vest/mr_vest_map.cc b/vest/mr_vest_map.cc
index 740b4c64..b3acc5dd 100644
--- a/vest/mr_vest_map.cc
+++ b/vest/mr_vest_map.cc
@@ -75,6 +75,7 @@ int main(int argc, char** argv) {
istringstream is(line);
int sent_id;
string file, s_origin, s_axis;
+ // path-to-file (JSON) sent_ed starting-point search-direction
is >> file >> sent_id >> s_origin >> s_axis;
SparseVector<double> origin;
assert(ReadSparseVectorString(s_origin, &origin));
@@ -96,7 +97,7 @@ int main(int argc, char** argv) {
es.Serialize(&val);
cout << 'M' << ' ' << s_origin << ' ' << s_axis << '\t';
B64::b64encode(val.c_str(), val.size(), &cout);
- cout << endl;
+ cout << endl << flush;
}
return 0;
}