layer: const size

This commit is contained in:
2016-10-23 22:43:20 +02:00
parent 9fbcb727a2
commit 940c4c9d3d

View File

@@ -72,7 +72,7 @@ namespace FeedForward {
/**
* @returns Size of layer
*/
std::size_t size() {
std::size_t size() const {
return neurons.size();
}