Skip to content
This repository was archived by the owner on Sep 9, 2024. It is now read-only.
This repository was archived by the owner on Sep 9, 2024. It is now read-only.

arrays cannot be broadcast to a common size #45

@stochasticTarget

Description

@stochasticTarget

I suddenly had a problem using ode without modifying the differential operator.
I use DataFrames, ODE, DataArrays. Since yesterday, without any update or checkout I suddenly obtain from

t = linspace(0,300,30001)# time
result=ode23((t,x)->D3(t,x,parameters),t,inits);

where

  • parameters = 15-element Array{Float64,1}
  • inits = 3-element Array{Float64,1}
  • D3 = (generic function with 1 method) takes (t,inits,parameters) and return an array same size as inits.
    the following result:
arrays cannot be broadcast to a common size
at In[17]:3
 in broadcast_shape at broadcast.jl:37
 in ##broadcast_T_/#233 at broadcast.jl:187
 in ./ at broadcast.jl:288
 in ode23 at /home/adrien/.julia/v0.2/ODE/src/ODE.jl:68

Any conflicting issue with DataArrays or DataFrames?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions