layer: const size

This commit is contained in:
Shin committed 2016-10-23 22:43:20 +02:00
1 parent 9fbcb727a2
commit 940c4c9d3d
1 file changed
+1 -1
+1 -1
View File
@@ -72,7 +72,7 @@ namespace FeedForward {
/**
* @returns Size of layer
*/
std::size_t size() {
std::size_t size() const {
return neurons.size();
}