Skip to content

Commit 31326eb

Browse files
author
Dhruva Vatsal Pyapali
committed
Fixed clang format issues
1 parent 748bc35 commit 31326eb

File tree

3 files changed

+16
-14
lines changed

3 files changed

+16
-14
lines changed

Simulator/Edges/Neuro/AllSpikingSynapses.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ using fpPostSynapsesSpikeHit_t = void (*)(const BGSIZE, AllSpikingSynapsesDevice
3939
class AllSpikingSynapses : public AllNeuroEdges {
4040
public:
4141
// Default synapse parameter values
42-
static constexpr BGFLOAT DEFAULT_tau = 3e-3; // The default synaptic time constant
43-
static constexpr BGFLOAT DEFAULT_U = 0.4; // The default synaptic efficiency
44-
static constexpr BGFLOAT DEFAULT_delay_weight = 0; // The default delay weight
42+
static constexpr BGFLOAT DEFAULT_tau = 3e-3; // The default synaptic time constant
43+
static constexpr BGFLOAT DEFAULT_U = 0.4; // The default synaptic efficiency
44+
static constexpr BGFLOAT DEFAULT_delay_weight = 0; // The default delay weight
4545

4646
AllSpikingSynapses();
4747

Simulator/Edges/Neuro/AllSynapsesDeviceFuncs_d.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99

1010
#include "AllDynamicSTDPSynapses.h"
1111
#include "AllNeuroEdges.h"
12-
#include "AllSpikingSynapses.h"
1312
#include "AllSTDPSynapses.h"
13+
#include "AllSpikingSynapses.h"
1414
#include "AllSynapsesDeviceFuncs.h"
1515
#include <vector>
1616

Simulator/Vertices/Neuro/AllIFNeurons.h

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -41,16 +41,18 @@ using AllIFNeuronsDeviceProperties = AllSpikingNeuronsDeviceProperties;
4141
class AllIFNeurons : public AllSpikingNeurons {
4242
public:
4343
// Default neuron parameter values
44-
static constexpr BGFLOAT DEFAULT_Cm = 3e-8; // The default membrane capacitance
45-
static constexpr BGFLOAT DEFAULT_Rm = 1e6; // The default membrane resistance
46-
static constexpr BGFLOAT DEFAULT_Vrest = 0.0; // The default resting voltage
47-
static constexpr BGFLOAT DEFAULT_Vreset = -0.06; // The default reset voltage
48-
static constexpr BGFLOAT DEFAULT_Trefract = 3e-3; // The default absolute refractory period
49-
static constexpr BGFLOAT DEFAULT_Inoise = 0.0; // The default synaptic noise
50-
static constexpr BGFLOAT DEFAULT_Iinject = 0.0; // The default injected current
51-
static constexpr BGFLOAT DEFAULT_Vthresh = -0.04; // The default threshold voltage
52-
static constexpr BGFLOAT DEFAULT_InhibTrefract = 2.0e-3; // The default absolute refractory period for inhibitory neurons
53-
static constexpr BGFLOAT DEFAULT_ExcitTrefract = 3.0e-3; // The default absolute refractory period for excitory neurons
44+
static constexpr BGFLOAT DEFAULT_Cm = 3e-8; // The default membrane capacitance
45+
static constexpr BGFLOAT DEFAULT_Rm = 1e6; // The default membrane resistance
46+
static constexpr BGFLOAT DEFAULT_Vrest = 0.0; // The default resting voltage
47+
static constexpr BGFLOAT DEFAULT_Vreset = -0.06; // The default reset voltage
48+
static constexpr BGFLOAT DEFAULT_Trefract = 3e-3; // The default absolute refractory period
49+
static constexpr BGFLOAT DEFAULT_Inoise = 0.0; // The default synaptic noise
50+
static constexpr BGFLOAT DEFAULT_Iinject = 0.0; // The default injected current
51+
static constexpr BGFLOAT DEFAULT_Vthresh = -0.04; // The default threshold voltage
52+
static constexpr BGFLOAT DEFAULT_InhibTrefract
53+
= 2.0e-3; // The default absolute refractory period for inhibitory neurons
54+
static constexpr BGFLOAT DEFAULT_ExcitTrefract
55+
= 3.0e-3; // The default absolute refractory period for excitory neurons
5456

5557
AllIFNeurons() = default;
5658

0 commit comments

Comments
 (0)