Ignore:
Timestamp:
Oct 5, 2015, 12:58:05 PM (4 years ago)
Author:
nmedfort
Message:

Potential bug fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/re/re_memoizer.hpp

    r4820 r4823  
    1616            return *cast<Name>(lh) < *cast<CC>(rh);
    1717        }
    18         return !(*cast<Name>(rh) < *cast<CC>(lh));
     18        return *cast<Name>(rh) > *cast<CC>(lh);
    1919    }
    2020};
     
    2929            return cast<Name>(*f);
    3030        } else {
    31             Name * name = makeName(cc->canonicalName(CC_type::UnicodeClass), cc);
     31            Name * name = makeName(cc);
    3232            insert(name);
    3333            return name;
Note: See TracChangeset for help on using the changeset viewer.