Interpreting valgrind error Invalid write of size 4

points_read is most likely out of bounds, you’re writing past (or before) the memory you allocated for amplitudes.

Leave a Comment