Less constexpr.
diff --git a/frc971/control_loops/state_feedback_loop.h b/frc971/control_loops/state_feedback_loop.h
index 12ddab7..cf3d7e4 100644
--- a/frc971/control_loops/state_feedback_loop.h
+++ b/frc971/control_loops/state_feedback_loop.h
@@ -73,9 +73,9 @@
protected:
// these are accessible from non-templated subclasses
- static constexpr int kNumStates = number_of_states;
- static constexpr int kNumOutputs = number_of_outputs;
- static constexpr int kNumInputs = number_of_inputs;
+ static const int kNumStates = number_of_states;
+ static const int kNumOutputs = number_of_outputs;
+ static const int kNumInputs = number_of_inputs;
};
template <int number_of_states, int number_of_inputs, int number_of_outputs>
@@ -150,9 +150,9 @@
protected:
// these are accessible from non-templated subclasses
- static constexpr int kNumStates = number_of_states;
- static constexpr int kNumOutputs = number_of_outputs;
- static constexpr int kNumInputs = number_of_inputs;
+ static const int kNumStates = number_of_states;
+ static const int kNumOutputs = number_of_outputs;
+ static const int kNumInputs = number_of_inputs;
};
#endif // FRC971_CONTROL_LOOPS_STATEFEEDBACKLOOP_H_