Skip to content
This repository has been archived by the owner on Sep 1, 2023. It is now read-only.

Commit

Permalink
DEVOPS-353: Remove unecessary "sizeof"
Browse files Browse the repository at this point in the history
  • Loading branch information
lscheinkman committed Mar 8, 2018
1 parent 3071b8a commit ee591f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nupic/engine/Link.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ void Link::compute() {

size_t srcLen = src.getCount();
size_t destLen = dest.getBufferSize();
::memset(destBuf, 0, destLen * sizeof(bool));
::memset(destBuf, 0, destLen);
size_t destIdx;
for (size_t i = 0; i < srcLen; i++) {
destIdx = srcBuf[i];
Expand Down

0 comments on commit ee591f8

Please sign in to comment.