Commit 7e4aa2e0 authored by Mathieu Giraud's avatar Mathieu Giraud

core/germline.cpp: getIndexLoad() in '<<'

parent 5402c0f3
......@@ -126,8 +126,10 @@ ostream &operator<<(ostream &out, const Germline &germline)
<< setw(3) << germline.delta_min << "/" << setw(3) << germline.delta_max
<< " " << germline.index ;
if (germline.index)
if (germline.index) {
out << fixed << setprecision(3) << setw(8) << 100 * germline.index->getIndexLoad() << "%";
out << " s" << germline.index->getS() << " k" << germline.index->getK() << " " << germline.index->getSeed() ; // TODO: there should be a << for index
}
out << endl;
return out;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment