ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/gclib/tophat_cpp/bwt_map.h
(Generate patch)
# Line 625 | Line 625
625          ret.first->second.seq = seq;
626          ret.first->second.len = len;
627          ret.first->second.observation_order = _next_id;
628 <        assert (_refid_to_hash.size() + 1 == _next_id);
628 >        //assert (_refid_to_hash.size() + 1 == _next_id);
629          _refid_to_name.push_back (name);
630                          
631          ++_next_id;
# Line 644 | Line 644
644    
645    const char* get_name(uint32_t ID) const
646    {
647 <    assert (ID > 0 && ID <= _refid_to_hash.size());
647 >    //assert (ID > 0 && ID <= _refid_to_hash.size());
648      const string& name = _refid_to_name[ID-1];
649      IDTable::const_iterator itr = _by_name.find(name);
650      if (itr != _by_name.end())

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines