Changeset 7174


Ignore:
Timestamp:
01/26/11 08:11:58 (14 years ago)
Author:
Mathieu Morlighem
Message:

Fix big bug in matlab model definition

No class should be used as default value.
Example:

cluster=none;

md=model;
save model md;
load model
class(model)

-> none

the class of the object is being changed!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/m/classes/model.m

    r7117 r7174  
    77    properties (SetAccess=public)
    88                 % {{{1
     9                 %Careful here: no other class should be used as default value
     10                 %this is a bug of matlab
    911
    1012                 %Model general information
     
    251253
    252254                 %Parallelisation parameters
    253                  cluster=none;
     255                 cluster=NaN;
    254256                 outlog='';
    255257                 errlog='';
Note: See TracChangeset for help on using the changeset viewer.