Skip to content
This repository was archived by the owner on May 29, 2025. It is now read-only.

Commit 2af1173

Browse files
committed
fixed a bug in Axial synapses
1 parent 75486d5 commit 2af1173

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

c++/synapses/Axial.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ void Axial::connect(compartment *pcomp1_, compartment *pcomp2_) {
5454
gmax = (amu*amu_*amu_)/((resistivity*Lmu)*(Lmu*amu_*amu_ + Lmu_*amu*amu));
5555

5656
if (isnan(gmax)) {
57-
mexPrintf("[WARNING] the maximal conductance of this axial synapse could not be computed. This is probably because you have not specified the geometrical parameters of all compartments.")
57+
mexPrintf("[WARNING] the maximal conductance of this axial synapse could not be computed. This is probably because you have not specified the geometrical parameters of all compartments.");
5858
}
5959
}
6060

docs/how-to/database-search.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ never spike (you may want to, but for this example, we don't).
6666
So we need to define a `DiscardFcn` that tells `xfind` when to save parameters and outputs from `SimFcn`, and when to
6767
skip them.
6868

69-
```
69+
```matlab
7070
% we are using an anonymous function for this simple example
7171
p.DiscardFcn = @(data) data <= 0;
7272
```
@@ -81,10 +81,12 @@ using all cores using
8181

8282
```matlab
8383
p.parallelSearch;
84+
```
85+
86+
```
8487
Starting workers...
8588
Starting worker #8
8689
Starting worker #7
87-
Warning: Objects of class 'parallel.FevalFuture' cannot be saved to MAT files.
8890
Starting worker #6
8991
Starting worker #5
9092
Starting worker #4

0 commit comments

Comments
 (0)