Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/giza-pp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'GIZA++-v2/Vector.h')
-rw-r--r--GIZA++-v2/Vector.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/GIZA++-v2/Vector.h b/GIZA++-v2/Vector.h
index 96d26ad..6589233 100644
--- a/GIZA++-v2/Vector.h
+++ b/GIZA++-v2/Vector.h
@@ -252,12 +252,11 @@ template<class T> class Vector
(*this)[maxWritten]=x;
return top();
}
- /*
bool writeTo(ostream&out) const
{
out << "Vector ";
out << size() << " ";
- out << a << '\n';
+ //out << a << '\n';
for(int iv=0;iv<=maxWritten;iv++)
{
writeOb(out, (*this)[iv]);
@@ -265,8 +264,6 @@ template<class T> class Vector
}
return 1;
}
- */
-
bool readFrom(istream&in)
{
string s;
@@ -283,7 +280,7 @@ template<class T> class Vector
}
int biggest;
in >> biggest;
- in >> a;
+ //in >> a;
resize(biggest);
for(int iv=0;iv<size();iv++)
{