Update nn.cc
Merge pull request #3 from yaolubrain/patch-2

Update nn.cc