This function should be const.

This commit is contained in:
Ryan Curtin
2021-07-07 18:22:30 -04:00
parent 60fe292da9
commit af68997a6c
+1 -1
View File
@@ -406,7 +406,7 @@ class FFN
// already check if the input dimensions have changed.
std::vector<size_t>& InputDimensions() { return inputDimensions; }
//! Get the logical dimensions of the input.
const std::vector<size_t>& InputDimensions() { return inputDimensions; }
const std::vector<size_t>& InputDimensions() const { return inputDimensions; }
private:
// Helper functions.