Changeset 305


Ignore:
Timestamp:
Nov 28, 2011, 6:49:27 PM (13 years ago)
Author:
gostiaux
Message:

Bug (inversion between num2str and str2num) corrected

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/check_files.m

    r292 r305  
    144144    [~,result]=system('svn info');
    145145    t=regexp(result,'R.vision\s:\s(?<rev>\d+)','names');
    146     svn_info.cur_rev=num2str(t.rev);
     146    svn_info.cur_rev=str2double(t.rev);
    147147    [~,result]=system('svn info -r ''HEAD''');
    148148    t=regexp(result,'R.vision\s:\s(?<rev>\d+)','names');
    149     svn_info.rep_rev=num2str(t.rev);
     149    svn_info.rep_rev=str2double(t.rev);
    150150    [~,result]=system('svn status');   
    151151    svn_info.status=result;
Note: See TracChangeset for help on using the changeset viewer.