Errors 178 and 185 for no reason!

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By M.Kh

I have a multi-part code that includes some save and load functions and software graphics control; But as soon as I enter this scene, I receive continuous errors about the problem in sorting the arrays; but I don’t have this function in the code. The program runs and the commands work, but the two keys that I just installed do not work; However, the error is not due to them. I have removed various functions many times but did not find the problem; I have a large array (114 numbers) though, could this be a problem?

Unfortunately, due to the length of the code and a lot of graphics, I am not able to send it.
Errors:
E 0:00:03:0525 partitioner: bad comparison function; sorting will be broken
<C++ Source> ./core/templates/sort_array.h:178 @ partitioner()
E 0:00:03:0525 partitioner: bad comparison function; sorting will be broken
<C++ Source> ./core/templates/sort_array.h:185 @ partitioner()

You’re not sorting an array at all? Please provide code (e.g. pastebin) or a sample project to look at, and then you’ll get better feedback :slight_smile:

spaceyjase | 2023-06-06 07:09