Commit 8aa45068 authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

kinematic-planner: fix some member initialization

parent 6f9305f3
Pipeline #10885 failed with stage
in 2 minutes and 48 seconds
...@@ -285,8 +285,8 @@ void KinematicPlanner::delaySources() { ...@@ -285,8 +285,8 @@ void KinematicPlanner::delaySources() {
Eigen::ArrayXcd V(nTimeSteps); Eigen::ArrayXcd V(nTimeSteps);
for (int cur_time = 0; cur_time < nTimeSteps; cur_time++) { for (int cur_time = 0; cur_time < nTimeSteps; cur_time++) {
std::complex<double> pi_freq; std::complex<double> pi_freq;
pi_freq.real() = 0; pi_freq.real(0);
pi_freq.imag() = cur_time; pi_freq.imag(cur_time);
V(cur_time) = pi_freq; V(cur_time) = pi_freq;
} }
V *= 2 * pi / nTimeSteps; V *= 2 * pi / nTimeSteps;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment