Ignore:
Timestamp:
Jan 23, 2025, 11:37:09 AM (10 hours ago)
Author:
sommeria
Message:

bug corrected in test civ1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/series/civ_input.m

    r1170 r1171  
    15641564    r=regexp(str_civ,'^\D(?<ind>[i|j])=( -| )(?<num1>\d+)\|(?<num2>\d+)','names');
    15651565    if ~isempty(r)
    1566         if strmp(r.ind,'i')
     1566        if strcmp(r.ind,'i')
    15671567            i1=i1-str2num(r.num1);
    15681568            i2=i2 +str2num(r.num2);
    1569         elseif strmp(r.ind,'j')
     1569        elseif strcmp(r.ind,'j')
    15701570            j1=j1-str2num(r.num1);
    15711571            j2=j2 +str2num(r.num2);
Note: See TracChangeset for help on using the changeset viewer.