function verify_sentinel_strict_weak_ordering

2011-06-17
2013-04-25
  • Hi there,

    I was wondering if you could help me. I am trying to use stlxxl in my research. I have a done a simple function to sort which I call as cmp. I understand that you need to set minimum and maximum value which does not exist in your input and I have done that. For example, my input will not have -2 and 1111111.

    However, each time, I ran the sort function, I am getting the following error:

    Assertion failed: (cmp(cmp.min_value(), cmp.max_value())), function verify_sentinel_strict_weak_ordering

    I have read the tutorials and examples which tells me that the minimum and maximum value should not exist in the input string. Could you let me know why I am get the following error. Really appreciate your help.

    Regards,
    Jasbir

     
  • Thanks for stxxl!
    I just found the problem. It is got to do with the comparison operator. Sorry!