Ticket #57 (closed defect: fixed)

Opened 18 months ago

Last modified 12 months ago

Order of operations in STDP with delays

Reported by: thesamovar Owned by:
Priority: major Milestone: 1.3
Component: Core Version: 1.2.1
Keywords: stdp, heterogeneous delays Cc:

Description

If the user gives something like:

pre= x += 1 w += x*y y += 1

In STDP with delays this will give the wrong results, because the x+=1 and y+=1 operations will be scheduled to execute immediately, and the w+=x*y operation happens with a delay. We should raise a warning in this case.

Change History

Changed 12 months ago by thesamovar

  • status changed from new to closed
  • version set to 1.2.1
  • resolution set to fixed

A warning is now raised including (for CSTDP) when this occurs without delays. In some cases where a warning is currently raised this could be supported, but it needs some substantial rewriting. I suggest we leave it until the code generation rewrite takes place anyway.

Note: See TracTickets for help on using tickets.