Hi everybody!
I hope this is the right place to ask this. If not, please correct me. I have
a question on the file
Optimizer.cpp
in the directory
mert
(latest svn version).
Specifically, this affects line 379 and the following ones:
Point direction;
for(unsigned int i=0;i<Point::getdim();i++)
direction[i]; // <<<<<<
direction[d]=1.0;
The line marked with "<<<<<<" seems to be a statement without effect. I tested
this on a vector of type float, and although I got no compiler warning the
value at [i] remained unchanged. It seems likely to me that direction[i] was
meant to be set to 0.0. Am I wrong?
Best regards,
Thomas Schoenemann
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support