diff --git a/programs/us_edit/us_edit.cpp b/programs/us_edit/us_edit.cpp index 98294a295..46b920af2 100644 --- a/programs/us_edit/us_edit.cpp +++ b/programs/us_edit/us_edit.cpp @@ -5296,7 +5296,7 @@ void US_Edit::set_data_over_lamda() { trx_b = trx; int min_xval = -100000000; int max_xval = 100000000; - int dx = 1; + int dx = 1; // preventing that dx becomes 0 and causing an infinite loop for ( int jwx = 0; jwx < nwaveln; jwx++ ) { edata = &allData[ trx ]; // Triple data