Skip to content

Commit

Permalink
Merge pull request #53 from cnrl/no-prime-fix
Browse files Browse the repository at this point in the history
No prime fix
  • Loading branch information
realamirhe authored Apr 24, 2024
2 parents ffcef87 + 1c84f99 commit 0deb83c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion conex/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from conex.behaviors import *
from conex.nn import *

__version__ = "0.1.2"
__version__ = "0.1.3"
4 changes: 3 additions & 1 deletion conex/behaviors/neurons/dendrite.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,5 +194,7 @@ def forward(self, neurons):
)

neurons.I += neurons.I_proximal + (
(non_priming_apical + non_priming_distal) / getattr(neurons, "R", 1)
getattr(neurons, "tau", 1)
* (non_priming_apical + non_priming_distal)
/ getattr(neurons, "R", 1)
)
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@
include_package_data=True,
keywords="CNRL-CoNeX",
name="CNRL-CoNeX",
packages=["conex"],
packages=find_packages(include=['conex', 'conex.*']),
test_suite="tests",
tests_require=test_requirements,
url="https://github.com/cnrl/CoNeX",
version="0.1.2",
version="0.1.3",
zip_safe=False,
)

0 comments on commit 0deb83c

Please sign in to comment.