diff --git a/Knossos.NET/Classes/SemanticVersion.cs b/Knossos.NET/Classes/SemanticVersion.cs index a12754b7..9b430729 100644 --- a/Knossos.NET/Classes/SemanticVersion.cs +++ b/Knossos.NET/Classes/SemanticVersion.cs @@ -387,7 +387,8 @@ public int CompareTo(object? other) { if (other == null) return 1; - return this > (SemanticVersion)other ? 1 : 0; + + return Compare(this, (SemanticVersion)other); } } }