15 Reputation

One Badge

6 years, 312 days

MaplePrimes Activity

These are replies submitted by qyyj

@Carl Love It works! Thanks a lot.

Hi, @tomleslie . I have modified the code as follows. But the problems still exists.

elenum :=numelems(theDiagnosis[1][1]);
if elenum = 1 then
    faultcom := theDiagnosis[1][1][1][1];
    faultloc := theDiagnosis[1][1][1][2];
    for numi from 1 to elenum do
        faultcom := faultcom union theDiagnosis[1][1][numi][1];
        faultloc := faultloc union theDiagnosis[1][1][numi][2];
    end do;
end if;

@Lenin Araujo Castillo Thanks for your reply. Carl Love  have helped me sove it.

@Carl Love Thanks, I know how to solve it.

@rlopez Thank you! I will try it.

Page 1 of 1