Skip to content

Commit

Permalink
Merge pull request #729 from heplesser/small-cpp-fixes
Browse files Browse the repository at this point in the history
Small fixes for compiler warnings and spelling
  • Loading branch information
heplesser authored May 29, 2017
2 parents 0a0d2f2 + 66af72e commit 97e172a
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion extras/static_code_analysis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ if [ "x$c_files_with_errors" != "x" ] || [ "x$python_files_with_errors" != "x" ]
else
print_msg "" ""
print_msg "MSGBLD0220: " "+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +"
print_msg "MSGBLD0220: " "+ STATIC CODE ANALYSIS TERMINATED SUCESSFULLY ! +"
print_msg "MSGBLD0220: " "+ STATIC CODE ANALYSIS TERMINATED SUCCESSFULLY ! +"
print_msg "MSGBLD0220: " "+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +"
print_msg "" ""
fi
2 changes: 1 addition & 1 deletion lib/sli/processes.sli
Original file line number Diff line number Diff line change
Expand Up @@ -703,7 +703,7 @@ Bugs: No error message is raised, if Flag=1 or Flag=2 and the given
but it is raised in a child process of SLI, and -after- standard
output has been redirected. The error message can be read from
the "mouth"-pipe!
"spawn" always returns sucessful if Flag=1 or Flag=2. However,
"spawn" always returns successful if Flag=1 or Flag=2. However,
excution of the UNIX command may have failed in the child process.
This may be a bug or a feature, whatever you like best ;->

Expand Down
6 changes: 3 additions & 3 deletions models/iaf_tum_2000.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,17 +44,17 @@ namespace nest
with exponential shaped postsynaptic currents (PSCs) according to [1].
The postsynaptic currents have an infinitely short rise time.
In particular, this model allows setting an absolute and relative
refractory time separately, as requied by [1].
refractory time separately, as required by [1].
The threshold crossing is followed by an absolute refractory period (tau_abs)
during which the membrane potential is clamped to the resting potential.
During the total refractory period, the membrane potential evolves,
but the neuron will not emit a spike, even if the membrane potential
reaches threshold. The total refratory time must be larger or equal to
reaches threshold. The total refractory time must be larger or equal to
the absolute refractory time. If equal, the refractoriness of the model
if equivalent to the other models of NEST.
The linear subthresold dynamics is integrated by the Exact
The linear subthreshold dynamics is integrated by the Exact
Integration scheme [2]. The neuron dynamics is solved on the time
grid given by the computation step size. Incoming as well as emitted
spikes are forced to that grid.
Expand Down
5 changes: 3 additions & 2 deletions models/noise_generator.h
Original file line number Diff line number Diff line change
Expand Up @@ -254,12 +254,13 @@ class noise_generator : public Node

// ------------------------------------------------------------

StimulatingDevice< CurrentEvent > device_;
static RecordablesMap< noise_generator > recordablesMap_;

StimulatingDevice< CurrentEvent > device_;
Parameters_ P_;
State_ S_;
Variables_ V_;
Buffers_ B_;
State_ S_;
};

inline port
Expand Down
2 changes: 0 additions & 2 deletions nest/sli_neuron.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,6 @@ nest::sli_neuron::calibrate()
{
B_.logger_.init();

bool terminate = false;

if ( not state_->known( names::calibrate ) )
{
std::string msg = String::compose(
Expand Down

0 comments on commit 97e172a

Please sign in to comment.