From 86c2796de8263c870a83634c6812e0f992d098f9 Mon Sep 17 00:00:00 2001 From: Taylor Hornby Date: Mon, 26 Apr 2021 23:35:30 -0600 Subject: [PATCH] Fix broken incomplete addition case check Co-authored-by: str4d --- orchard_pallas.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/orchard_pallas.py b/orchard_pallas.py index 40c24da..8a9268d 100644 --- a/orchard_pallas.py +++ b/orchard_pallas.py @@ -186,7 +186,7 @@ class Point(object): assert self != a assert self != -a assert self != Point.identity() - assert self != Point.identity() + assert a != Point.identity() return self + a def __sub__(self, a):