wire_amps[8][0] = 0.92; wire_amps[8][1] = 1,47;
Array indices in C run from 0 to N-1. So row 8 of your array doesn't exist. You're writing to memory that you don't own. Results will be unpredictable.
wire_amps[8][0] = 0.92; wire_amps[8][1] = 1,47;
Array indices in C run from 0 to N-1. So row 8 of your array doesn't exist. You're writing to memory that you don't own. Results will be unpredictable.