We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4447786 commit 9250b39Copy full SHA for 9250b39
src/htm/algorithms/Connections.hpp
@@ -42,8 +42,8 @@ using SynapseIdx= UInt16; /** Index of synapse in segment. */
42
using Segment = UInt32; /** Index of segment's data. */
43
using Synapse = UInt32; /** Index of synapse's data. */
44
using Permanence= Real32; //TODO experiment with half aka float16
45
-const Permanence minPermanence = 0.0f;
46
-const Permanence maxPermanence = 1.0f;
+constexpr const Permanence minPermanence = 0.0f;
+constexpr const Permanence maxPermanence = 1.0f;
47
48
49
/**
0 commit comments