summaryrefslogtreecommitdiff
path: root/lib/pile.c
diff options
context:
space:
mode:
authorbiouman <biouman>2001-05-02 23:24:53 +0000
committerbiouman <biouman>2001-05-02 23:24:53 +0000
commit2f24e11cb53c348b48eb977912371797d8ece06b (patch)
tree7232fb9f57fca3bdd7f2689145bad5a705b9c286 /lib/pile.c
parent4b21f0cbce53ea81021b55b1a9f178b41e2b0e7d (diff)
*** empty log message ***
Diffstat (limited to 'lib/pile.c')
-rw-r--r--lib/pile.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/pile.c b/lib/pile.c
index 11f1327..2920139 100644
--- a/lib/pile.c
+++ b/lib/pile.c
@@ -352,7 +352,9 @@ void act_pile(int func)
exception(1, _("act_pile: OP_EXP invalid power"));
}
} else {
- exception(1, _("act_pile: OP_EXP empty polynom"));
+ push_pile_poly(ply_constr(rat_constr(1,1),0));
+ if (operande2.poly)
+ ply_destruct(operande2.poly);
}
} else {
exception(1, _("act_pile: OP_EXP invalid arguments"));