#include "alg/sequence_location.hpp"
+
+#include <cstdlib>
SequenceLocation::SequenceLocation(
const boost::shared_ptr<Sequence> s,
int SequenceLocation::getCount() const
{
- return right - left;
+ return std::max(right - left, 0);
}
void SequenceLocation::setRight(int r)