Skip to content

Commit c6be85d

Browse files
committed
minor change
1 parent e2a8970 commit c6be85d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/metta.pl

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,11 @@
3838
'%'(A,B,R) :- R is A mod B.
3939
'<'(A,B,R) :- (A<B -> R=true ; R=false).
4040
'>'(A,B,R) :- (A>B -> R=true ; R=false).
41-
'=='(A,B,R) :-
41+
'=='(A,B,true) :-
4242
( A == B
4343
; (number(A), number(B), A =:= B)
4444
),
45-
!,
46-
R = true.
45+
!.
4746
'=='(_,_,false).
4847
'!='(A,B,R) :- (A==B -> R=false ; R=true).
4948
'='(A,B,R) :- (A=B -> R=true ; R=false).

0 commit comments

Comments
 (0)