You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if bucket.key == key || bucket.hash == keyhash && equal(bucket.key,key)==True then return bucket.value;
bucket = bucket.next;
);
buildErrorPacket("key not found in hash table"));
One wrinkle is that the key can be any Expr object, and probably turning it into a string is not always the best idea. Could we print it if it's an integer or string perhaps? Do you have any better ideas?
The text was updated successfully, but these errors were encountered:
In robust.m2 are silentRobustNetWithClass and silentRobustNet, which print things while limiting the size. They are used in error messages like this one:
I often run into mysterious error messages like this:
In this instance, I was trying to figure out the issue mentioned in this comment, and this error is utterly unhelpful.
@DanGrayson I figure the best solution is to perhaps print the key in the error message, which happens here:
M2/M2/Macaulay2/d/hashtables.dd
Lines 319 to 326 in 7ba2678
One wrinkle is that the key can be any Expr object, and probably turning it into a string is not always the best idea. Could we print it if it's an integer or string perhaps? Do you have any better ideas?
The text was updated successfully, but these errors were encountered: