This must round down; otherwise we can end up with the outhop exceeding 256 for some hops when we haven't planned it
This commit is contained in:
@@ -276,7 +276,7 @@ R3StretcherImpl::calculateHop()
|
||||
inhop = 768.0;
|
||||
}
|
||||
|
||||
m_inhop = int(round(inhop));
|
||||
m_inhop = int(floor(inhop));
|
||||
|
||||
std::cout << "R3StretcherImpl::calculateHop: inhop = " << m_inhop << ", proposed outhop = " << proposedOuthop << ", mean outhop = " << m_inhop * ratio << std::endl;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user