product:: lazy Yendor

This commit is contained in:
Zeno Rogue 2019-08-19 13:57:08 +02:00
parent e8cdb9e616
commit 10352c95c1
1 changed files with 5 additions and 0 deletions

View File

@ -219,6 +219,11 @@ EX namespace yendor {
nyi.path[0] = yendor;
}
else if(prod) {
/* I am lazy */
for(int i=1; i<=YDIST-1; i++) nyi.path[i] = nyi.path[i-1]->cmove(nyi.path[i-1]->type-1);
}
else {
int t = -1;
bignum full_id;