Skip to content

Commit 2ebf4a1

Browse files
fix conflict
2 parents 33b1267 + 5381b70 commit 2ebf4a1

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

Simulator/Edges/Neuro/AllNeuroEdges.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ void AllNeuroEdges::writeEdge(ostream &output, BGSIZE iEdg) const
7272
output << destVertexIndex_[iEdg] << ends;
7373
output << W_[iEdg] << ends;
7474
output << psr_[iEdg] << ends;
75-
output << static_cast<int>(type_[iEdg]) << ends;
75+
output << type_[iEdg] << ends;
7676
output << (inUse_[iEdg] == 1 ? "true" : "false") << ends;
7777
}
7878

@@ -107,7 +107,7 @@ void AllNeuroEdges::printSynapsesProps() const
107107
cout << "W[" << i << "] = " << W_[i];
108108
cout << " sourNeuron: " << sourceVertexIndex_[i];
109109
cout << " desNeuron: " << destVertexIndex_[i];
110-
cout << " type: " << static_cast<int>(type_[i]);
110+
cout << " type: " << type_[i];
111111
cout << " psr: " << psr_[i];
112112
cout << " in_use:" << (inUse_[i] == 1 ? "true" : "false");
113113
}

Simulator/Edges/Neuro/AllSTDPSynapses_d.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ void AllSTDPSynapses::printGPUEdgesProps(void *allEdgesDeviceProps) const
387387
cout << "GPU W[" << i << "] = " << WPrint[i];
388388
cout << " GPU sourNeuron: " << sourceNeuronIndexPrint[i];
389389
cout << " GPU desNeuron: " << destNeuronIndexPrint[i];
390-
cout << " GPU type: " << static_cast<int>(typePrint[i]);
390+
cout << " GPU type: " << typePrint[i];
391391
cout << " GPU psr: " << psrPrint[i];
392392
cout << " GPU in_use:" << (inUsePrint[i] == 1 ? "true" : "false");
393393

Simulator/Edges/Neuro/AllSpikingSynapses_d.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ void AllSpikingSynapses::printGPUEdgesProps(void *allEdgesDeviceProps) const
405405
cout << "GPU W[" << i << "] = " << WPrint[i];
406406
cout << " GPU sourNeuron: " << sourceNeuronIndexPrint[i];
407407
cout << " GPU desNeuron: " << destNeuronIndexPrint[i];
408-
cout << " GPU type: " << static_cast<int>(typePrint[i]);
408+
cout << " GPU type: " << typePrint[i];
409409
cout << " GPU psr: " << psrPrint[i];
410410
cout << " GPU in_use:" << (inUsePrint[i] == 1 ? "true" : "false");
411411
cout << " GPU decay: " << decayPrint[i];

Simulator/Utils/Global.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ inline std::ostream& operator<<(std::ostream& os, edgeType eT) {
150150
os << static_cast<int>(eT);
151151
return os;
152152
}
153+
153154
// The default membrane capacitance.
154155
#define DEFAULT_Cm (3e-8)
155156
// The default membrane resistance.

0 commit comments

Comments
 (0)