Skip to content

Commit

Permalink
Fixed compiler error in AllSynapses.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
fumik committed Jul 24, 2019
1 parent b0c4a17 commit d2ac164
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Synapses/AllSynapses.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ CUDA_CALLABLE synapseType AllSynapses::synType(neuronType* neuron_type_map, cons
*/
CUDA_CALLABLE void AllSynapses::resetSynapse(const BGSIZE iSyn, const BGFLOAT deltaT)
{
dynamic_cast<AllSynapsesProps*>(m_pSynapsesProps)->psr[iSyn] = 0.0;
reinterpret_cast<AllSynapsesProps*>(m_pSynapsesProps)->psr[iSyn] = 0.0;
}

#if defined(USE_GPU)
Expand Down

0 comments on commit d2ac164

Please sign in to comment.