Skip to content

Commit 75f3645

Browse files
author
Vanessa Arndorfer
committed
clang format fixes
1 parent 336682a commit 75f3645

File tree

1 file changed

+24
-13
lines changed

1 file changed

+24
-13
lines changed

Simulator/Edges/Neuro/AllSTDPSynapses.cpp

Lines changed: 24 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -118,18 +118,29 @@ void AllSTDPSynapses::printParameters() const
118118
{
119119
AllSpikingSynapses::printParameters();
120120

121-
LOG4CPLUS_DEBUG(
122-
edgeLogger_,
123-
"\n\t---AllSTDPSynapses Parameters---"
124-
<< "\n\tEdges type: AllSTDPSynapses \n\n"
125-
<< "\tSTDP gap" << defaultSTDPgap_ << "\n\n\tTauspost value: [" << " I: " << tauspost_I_
126-
<< ", " << " E: " << tauspost_E_ << "]" << "\n\n\tTauspre value: [" << " I: " << tauspre_I_
127-
<< ", " << " E: " << tauspre_E_ << "]" << "\n\n\tTaupos value: [" << " I: " << taupos_I_
128-
<< ", " << " E: " << taupos_E_ << "]" << "\n\n\tTau negvalue: [" << " I: " << tauneg_I_
129-
<< ", " << " E: " << tauneg_E_ << "]" << "\n\n\tWex value: [" << " I: " << Wex_I_ << ", "
130-
<< " E: " << Wex_E_ << "]" << "\n\n\tAneg value: [" << " I: " << Aneg_I_ << ", "
131-
<< " E: " << Aneg_E_ << "]" << "\n\n\tApos value: [" << " I: " << Apos_I_ << ", "
132-
<< " E: " << Apos_E_ << "]" << endl);
121+
LOG4CPLUS_DEBUG(edgeLogger_, "\n\t---AllSTDPSynapses Parameters---"
122+
<< "\n\tEdges type: AllSTDPSynapses \n\n"
123+
<< "\tSTDP gap" << defaultSTDPgap_ << "\n\n\tTauspost value: ["
124+
<< " I: " << tauspost_I_ << ", "
125+
<< " E: " << tauspost_E_ << "]"
126+
<< "\n\n\tTauspre value: ["
127+
<< " I: " << tauspre_I_ << ", "
128+
<< " E: " << tauspre_E_ << "]"
129+
<< "\n\n\tTaupos value: ["
130+
<< " I: " << taupos_I_ << ", "
131+
<< " E: " << taupos_E_ << "]"
132+
<< "\n\n\tTau negvalue: ["
133+
<< " I: " << tauneg_I_ << ", "
134+
<< " E: " << tauneg_E_ << "]"
135+
<< "\n\n\tWex value: ["
136+
<< " I: " << Wex_I_ << ", "
137+
<< " E: " << Wex_E_ << "]"
138+
<< "\n\n\tAneg value: ["
139+
<< " I: " << Aneg_I_ << ", "
140+
<< " E: " << Aneg_E_ << "]"
141+
<< "\n\n\tApos value: ["
142+
<< " I: " << Apos_I_ << ", "
143+
<< " E: " << Apos_E_ << "]" << endl);
133144
}
134145

135146
/// Sets the data for Synapse to input's data.
@@ -429,7 +440,7 @@ void AllSTDPSynapses::stdpLearning(BGSIZE iEdg, double delta, double epost, doub
429440
if (fabs(W) > Wex) {
430441
W = edgSign(type) * Wex;
431442
}
432-
443+
433444
/*
434445
LOG4CPLUS_DEBUG(edgeLogger_, endl <<
435446
"iEdg value " << iEdg

0 commit comments

Comments
 (0)