| Author |
Comment/Response |
Alex
|
04/13/12 11:56am
Hi, I have a simple code that fills a table with whatever characters in parallel
"""""""""""""""""""""""""""""""""""""""""""""
aaa = Table[" ", {j, 1, 10}];
SetSharedVariable[aaa];
ParallelDo[
aaa[[j]] = "a";
, {j, 1, 10}];
Print[aaa]
"""""""""""""""""""""""""""""""""""""""""""""
Which gives the following error:
et::pspec: Part specification j is neither an integer nor a list of integers.
Could someone please suggest a reason for this error and how to correct it,
URL: , |
|