Skip to content

Commit

Permalink
Update pfd.lib
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcel-98 authored Aug 5, 2024
1 parent 709fa44 commit f4582c3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion singular/pfd.lib
Original file line number Diff line number Diff line change
Expand Up @@ -1186,7 +1186,10 @@ proc pfd_functional_unit(list terms, ideal q, intvec steps, list #)

dec = terms;

if (size(dec) == 1) {if(dec[1][1]==0){dec = list();}}
if (size(dec) == 1) {
if(dec[1][1]==0){dec = list();}
if(typeof(dec[1][1])!="poly") {dec[1][1] = poly(dec[1][1]);}
}
dec = list(q, dec);

if (voice <= printlevel) {displaypfd(dec)}
Expand Down

0 comments on commit f4582c3

Please sign in to comment.