Skip to content

Using on_post pathway without setting its delay chooses random delay value #61

@denisalevi

Description

@denisalevi

Using something like

syn = Synapses(..., on_pre='...', on_post='...', delay=0*ms)

sets the delay for the pre pathway, but not for the post pathway (as it should according to brian2 docs). But for some reason the delay of the on_post pathway gets a random value, seems like uninitialized memory allocation. So I needed to set

syn.post.delay = 0*ms

explicitly to have no delays. The delay variable of the synapse object is also not set when using the on_post keyword.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions