Max Alekseyev on Fri, 05 Nov 2021 17:47:59 +0100
[
Date Prev
] [
Date Next
] [
Thread Prev
] [
Thread Next
] [
Date Index
] [
Thread Index
]
return statement from inside parfor does not work
To
:
pari-users@pari.math.u-bordeaux.fr
Subject
: return statement from inside parfor does not work
From
: Max Alekseyev <
maxale@gmail.com
>
Date
: Fri, 5 Nov 2021 12:47:19 -0400
Delivery-date
: Fri, 05 Nov 2021 17:47:59 +0100
Dkim-signature
: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=lOhjzmzCCMbk1yDZB0/pW3mo8awa6nfALppxAjY8rX0=; b=lq5spIO5gsAUIzOOatwph27zrk6smwTktHpbt1pb6JN6NWI0HVv9+1NpyNaM0BgVLO SEQ/GLeyDXtj2GO03BWz3Fxrx9mA4301MfR4fzT9HjVHxY3/tyr50gXtKv3+zDP0P78x fi8GDxvSSs/OSzXmMWxkSL340DYWueqXcKjkZapx73oSpbVmOirn+BCkyvW4mrHdZpkh y81GPfbxW7Zw1zwp8hWC/K/Cy4a8+WEOHK0u34W1cyEBJ6cDuVDbTyKIg6SRFLUGqBoc lGGSyS/UJKbXc6FmouXYJ/Vjp1zYmhjc5KBgSz0ZCcvWCE626G+m6QSI+U7DkVFaZqkd CyEQ==
The following function never terminates despite executing the 'return' statement:
f() = parfor(i=0,+oo, if(i==100,print(i);return(i)) );
Calling f() does print '100', but ignores the 'return' statement. What's wrong?
Regards,
Max
Follow-Ups
:
Re: return statement from inside parfor does not work
From:
Loïc Grenié <loic.grenie@gmail.com>
Re: return statement from inside parfor does not work
From:
Bill Allombert <Bill.Allombert@math.u-bordeaux.fr>
Prev by Date:
Re: size of the coefficients returned by bnfisnorm()
Next by Date:
Re: return statement from inside parfor does not work
Previous by thread:
Re: size of the coefficients returned by bnfisnorm()
Next by thread:
Re: return statement from inside parfor does not work
Index(es):
Date
Thread