I know in C++11 they added the feature to initialize a variable to zero as such
double number = {}; // number = 0 int data{}; // data = 0
You don't need initialization lists for that:
std::vector vector1(length, 0); std::vector vector2(length, 0.0);