CNMAT / CNMAT-odot

Multi-paradigm Dynamic Programming
Other
115 stars 11 forks source link

assign_to_index() can't take dynamic address in "lambda()" #344

Closed kulpajj closed 6 years ago

kulpajj commented 7 years ago

seems to be that assign_to_index() can't take a dynamic address in a "lambda()", so you have to hardcode the address you want to manipulate in any "lambda()"

ramagottfried commented 7 years ago

probably the issue is that you need to initialize your list before you can assign_to_index? here's an example in a lambda, using a temporary address and then assigning to the dynamic name.


----------begin_max5_patcher----------
864.3oc6Vs0aZCCE9Y3WwQgGFr41RRfBTo85dbZuWPUljCE24XmE6zBqZ+2m
uQ3x.IZEpOMTjS7we9b2elWa2JZtbEphf6f6gVsdscqVNQVAsByaEUPWkwoJ
GrH404LUImtNh3WUiqztUtYgTdSeqp5SfS9LiLU3PFGPFSfDBjRfADXHAtk.
iHvXBLoAYR.YhCystUis6zHH1HI1HJdbC7z.7TG1IAbCsXL5vZNydRFMaS.v
YBLSVKbQwffPQcgrVyQsKpiCRWHE5EzLzJqePlGldcI5SiQQvrvRkUnBEZpl
IEOTgYZOha6O5Zi+MXh6U+vPytrIzLIWV4QGaWeugFjrbeIY9SWkFsiKpX+1
4LwIW2ea7vDGFNkTc1Rl3wi4ao1WoCFXeMZn0n187m1ssCjytYAWUVcclLGs
.OrioCnWxTPtDUluPPQKPqHwiv7ZMTHqPHSVXSiJLepXpnfV1cp..NsXdNs6
8LaUG.vM.2nwhR3qfXAiy6ZZQ52a2k2rY6uFEjuJnBnQC2eOXDCylYTk8iOC
LXCjdDfpve00jU3n3Q8xttsz6pXnmGSvjFXJ1ihtvT+AioQegQBd3ddUNZJK
XPMjlo4qEzBV12MoDmh2Z3Ty7dGs4MdzQ6dSdKcueqly+AM6mnNhr2ryrqdb
x4zT2eWPmrodvksodrumdn6bTxfIu6l5+y.dtLfuKtrjKTYevXOU13O.prSQ
LENj2AVhU3mT.EBGrAyHFns14rtgxYWBic3I5.ywEVFQOwhMT0xGXhbbErVV
CBDyAsDXBllQ4lzliSkyT5MJPwDYH7h4gJzVrdUsUOuvzKOvEIfTf.RUqazh
jWaO6CFpaiNpUFWBrrWxJZ0Zflma4qsr0d7mzgNIccSDavKbAWFUDbVeHZb1
ylS+ffrq2tDK0Nogeu2aif28UGfJxgELAkyWui6YixMovP13t8uS3YJu9.N9
ic2PGPVZyzN8mwQSRnt7heqQxGxsFuqK.hunLAd9+gwd9fwGxD3b.Wp4f+Pr
SgV46SOnj0UYaR.gqqfsgQNpzlVCa8aGLodLGk.5bsS7YXmj+wN9viVV9LVo
Bfclvvc8jur3ZDhLoT+zT2zJ7Y1F7CcRnUl7q1jbqqbtUzpa82TGUXXGqD0L
W4ns0x+o8egy.Wh7
-----------end_max5_patcher-----------
equilet commented 6 years ago

@kulpajj can this issue be closed?

kulpajj commented 6 years ago

sure this one was addressed. Thanks.

On Wed, Apr 18, 2018 at 1:54 PM, Jeffrey Lubow notifications@github.com wrote:

Assigned #344 https://github.com/CNMAT/CNMAT-odot/issues/344 to @kulpajj https://github.com/kulpajj.

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/CNMAT/CNMAT-odot/issues/344#event-1582410647, or mute the thread https://github.com/notifications/unsubscribe-auth/AWhttQ3NT1uAgd1EPNYBv68eEsa2zJwiks5tp6gTgaJpZM4Oz0u9 .