From 10fb55086ff832d571d2827b95f2ca577e3c9df2 Mon Sep 17 00:00:00 2001 From: Hugo Sales Date: Mon, 17 Dec 2018 16:35:41 +0000 Subject: [PATCH] Quick fix v2 --- polymani.pl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/polymani.pl b/polymani.pl index 4a7fec7..cbaf1c2 100644 --- a/polymani.pl +++ b/polymani.pl @@ -70,6 +70,8 @@ polyplay :- %% Tests: %% ?- polyplay. +process_input(_). + %% nlp_number(?W:Atom, ?D:Int) is det % % Definition of a Alphabetical and Numerical relation @@ -303,8 +305,7 @@ parse_command(op(*, TN, TP)) --> [multiply], parse_number(TN), [by], - parse_polynomial(_-_, TP). - + parse_polynomial(TP). parse_input(command(TCL, TCR)) --> parse_command(TCL), [and],