Skip to content

passing heterogenious edge parameters in presense of a stochastic layer #99

Open
@sho7014

Description

@sho7014

Hello,

When the size of an array of heterogeneous edge parameters does not match the number of edges of a stochastic layer (e.g. in case of a static layer without any edges), an error arises.

ERROR: Error: The size of the parameter array does not match the number of edges. Make sure the correct number of parameters is given when using the tuple syntax.

The error is getting trapped at L88 of:
https://github.com/PIK-ICoNe/NetworkDynamics.jl/blob/57635388611caddabc47f7bfd64899b3aaf1f1c8/src/nd_ODE_Static.jl

If they match, then everything is fine. This might be unintended behavior for some cases because vertex-independent noise is widely used for sde modeling. Some remarks regarding the behavior in the tutorial might be helpful.

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