Dirk Laurie on Mon, 12 Nov 2012 20:24:26 +0100
|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: Using Mod inside functions
|
- To: Ewan Delanoy <ewan.delanoy@gmx.fr>
- Subject: Re: Using Mod inside functions
- From: Dirk Laurie <dirk.laurie@gmail.com>
- Date: Mon, 12 Nov 2012 21:24:18 +0200
- Cc: pari-users@pari.math.u-bordeaux1.fr
- Delivery-date: Mon, 12 Nov 2012 20:24:26 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=NXHl6wqsjumT+nHEyksEIdYpHMM3a/3tisE8ZjKmd6Q=; b=yNUWJP7SZqksT7uejvOZE5Ozn9LBC32VTOkPVDhGQqDcmo+6aA8NE9ZtP8JxGeA9Bb Vp6HS3M3QfszP7DT/TCTAHSvHgMvomYIRFdHOsfXnZLu7z+XlGE/q20TZz1i2Vdg5PWL fvejG/utineRqI1knedEYiRn8nCbzbM/2NorphgPgp3ZQwZXe18jqpHlcNmYCW2mbOil Rt2drDxUYdlcJmmFjQ3IqRi+ISdXoowYBKe+jPtm7FGlCzBmXLGA2zH//bD9Z+H9EiwK U3QlFCcXWdiofDWzK16DGPdqS/GQzCG3Pox478zEBMcKvgZRdJ3MhltnPeU+om67+4OJ fL+w==
- In-reply-to: <20121112173536.93530@gmx.com>
- References: <20121112173536.93530@gmx.com>
2012/11/12 Ewan Delanoy <ewan.delanoy@gmx.fr>:
> Judging from the error message, the problem is related
> to my use of âModâ inside the function.
Nothing to do with Mod.
> local(symb,temp,temp2,temp3,agatha);
This is equivalent to
local(symb=0,temp=0,temp2=0,temp3=0,agatha=0);
You need "agatha" to be atomic. Just take out "agatha"
from the list and it works.
Dirk