A little more detail. I believe the error occurs at this line in the
derivatives function:
gdot[:] = [dr0, dv0, dr1, dv1, dr2, dv2]
Additionally, I just tried running my code on my Linux VM, and it works
fine there as well, so for me this is Windows-specific.
Chris
On Monday, February 9, 2015 at 10:32:20 AM UTC-5, Chris wrote:
>
> Hello,
>
> I was doing some work with the Sundials ODE solvers on my Macbook, and
> everything was working fine. When I tried running my tests on my Windows
> machine, however, I got the following error:
>
> tried to assign 12 elements to 4294967308 destinations
>
>
> With 12 being the size of my state. Conveniently, I get the same error when I
> try running the three-body problem example
> <http://nbviewer.ipython.org/github/pjpmarques/Julia-Modeling-the-World/blob/master/Three-Body%20Problem.ipynb>
> provided (changing the call from Sundials.ode() to Sundials.cvode()). I'm
> running Julia v0.3.5 if that makes a difference. Any help is much appreciated.
>
>
> Thanks,
>
> Chris
>
>