I've been having a pesky vector out of range error pop up in my program when running the to_sos function from iir_design.hpp. I think I've traced one of these errors to line 938. Here there's a for loop that's running over the size of the input list but the vector it is indexing it with (filtered) is always going to be <= the size of the input list, which could cause indexing past the end of the vector.
I've been having a pesky vector out of range error pop up in my program when running the to_sos function from iir_design.hpp. I think I've traced one of these errors to line 938. Here there's a for loop that's running over the size of the input list but the vector it is indexing it with (filtered) is always going to be <= the size of the input list, which could cause indexing past the end of the vector.