Skip to content

Commit

Permalink
fixed redundant eval left over in fix to issue trueagi-io#225
Browse files Browse the repository at this point in the history
  • Loading branch information
TeamSPoon committed Dec 30, 2024
1 parent a103954 commit 2da3563
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions prolog/metta_lang/metta_eval.pl
Original file line number Diff line number Diff line change
Expand Up @@ -2746,8 +2746,7 @@
eval_defn_failure(Eq,RetType,Depth,Self,X,Y)).


eval_defn_success(Eq,RetType,Depth,Self,XIn,ResOutY,XX,B0,USED):-
eval_adjust_args(Eq,RetType,Y,ResOutY,Depth,Self,XIn,X),
eval_defn_success(Eq,RetType,Depth,Self,X,Y,XX,B0,USED):-
X=XX, Y=B0, X\=@=B0,
if_trace(e,color_g_mesg('#773700',indentq2(Depth,defs_used(USED)))),
light_eval(Eq,RetType,Depth,Self,B0,Y),!.
Expand Down

0 comments on commit 2da3563

Please sign in to comment.