From 217f2d88fef11e8794d155292813bc59665c95af Mon Sep 17 00:00:00 2001 From: Maxime Vorwerk Date: Fri, 25 Aug 2023 16:22:31 +0200 Subject: [PATCH] finished equality comparators --- julia/ImmutableOrientedShape.jl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/julia/ImmutableOrientedShape.jl b/julia/ImmutableOrientedShape.jl index 6ab7d49..dbd6316 100644 --- a/julia/ImmutableOrientedShape.jl +++ b/julia/ImmutableOrientedShape.jl @@ -15,4 +15,6 @@ function Base.==(X::ImmutableOrientedShape, Y::ImmutableOrientedShape) else return true end -end \ No newline at end of file +end + +Base.isequal(X:ImmutableOrientedShape, Y::ImmutableOrientedShape) = X == Y