measure_at(), allow real valued data for meas ac

This commit is contained in:
h_vogt 2012-06-26 23:43:50 +02:00
parent 0207dc7239
commit 14914025c0
1 changed files with 6 additions and 1 deletions

View File

@ -662,7 +662,12 @@ static void measure_at(
for (i=0; i < d->v_length; i++) {
if (ac_check) {
value = get_value(meas, d, i); //d->v_compdata[i].cx_real;
if (d->v_compdata)
value = get_value(meas, d, i); //d->v_compdata[i].cx_real;
else {
value = d->v_realdata[i];
// fprintf(cp_err, "Warning: 'meas ac' input vector is real!\n");
}
svalue = dScale->v_compdata[i].cx_real;
}
else if (sp_check) {