Skip to content

Commit

Permalink
Fix the documentation for summed variables
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
mstimberg committed Jan 13, 2021
1 parent 8402947 commit 3fd13ce
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions docs_sphinx/introduction/exclusions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ Unsupported features in Brian2GeNN
.. highlight:: python
:linenothreshold: 5

Summed variables
----------------
Summed variables are currently not supported in GeNN due to the cross-
population nature of this feature. However, a simple form of summed
variable is supported and intrinsic to GeNN. This is the action of
'pre' code in a ``Synapses`` definition onto a pre-synaptic
variable. The allowed interaction is summing onto one pre-synaptic
variable from each ``Synapses`` group.
Restrictions on summed variables
--------------------------------
Summed variables are supported starting with version 1.4. There are a number of
restrictions, however. Most importantly:

* the equations of a `Synapses` object can only use a single summed variable
* a summed variable cannot be combined with another action on a post-synaptic variable
in the ``on_pre`` statement (e.g. ``g_exc_post += w_exc``).


Linked variables
Expand Down

0 comments on commit 3fd13ce

Please sign in to comment.