CUQI-DTU / CUQIpy

https://cuqi-dtu.github.io/CUQIpy/
Apache License 2.0
41 stars 7 forks source link

Bug in geometry equality #422

Open amal-ghamdi opened 3 months ago

amal-ghamdi commented 3 months ago

These geometries should be equal but checking equality returns False now

g1 = cuqi.geometry.MappedGeometry(cuqi.geometry.Continuous1D(4), map= lambda x:x)
g2 = cuqi.geometry.MappedGeometry(cuqi.geometry.Continuous1D(4), map= lambda x:x)
print(g1 == g2) # False