The following code K.<x, y> = QQ[] K = K.fraction_field() print(len({x/y, (2*x)/(2*y)}))
gives the answer 2, even though the two elements of course are the same! Is this a bug or a feature for a reason I cannot guess? Same on the SageMath Cell. -- Peter Mueller PS: I have spent half a day debugging some complicated code, when it finally turned out to be caused by this unexpected behavior. -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/sage-support/9a8b69f6-3a14-4a84-828c-27066bfaac73n%40googlegroups.com.