Skip to content

Commit

Permalink
lstm: Replace NULL by nullptr
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Weil <[email protected]>
  • Loading branch information
stweil committed Apr 22, 2018
1 parent 16e00b5 commit 6e2750c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lstm/fullyconnected.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ void FullyConnected::ForwardTimeStep(int t, double* output_line) {
void FullyConnected::ForwardTimeStep(const double* d_input,
int t, double* output_line) {
// input is copied to source_ line-by-line for cache coherency.
if (IsTraining() && external_source_ == NULL)
if (IsTraining() && external_source_ == nullptr)
source_t_.WriteStrided(t, d_input);
weights_.MatrixDotVector(d_input, output_line);
ForwardTimeStep(t, output_line);
Expand Down

0 comments on commit 6e2750c

Please sign in to comment.