Changeset 22837


Ignore:
Timestamp:
06/11/18 10:43:22 (7 years ago)
Author:
erobo
Message:

FIX: make default control_size = 1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/classes/autodiff.m

    r22836 r22837  
    3535                self.gcTriggerRatio=2.0;
    3636                self.gcTriggerMaxSize=65536;
     37                self.control_size = 1;
    3738                end % }}}
    3839                function md = checkconsistency(self,md,solution,analyses) % {{{
     
    152153                                end
    153154
    154                                 size(max_parameters_pre)
    155155                                max_parameters=reshape(max_parameters_pre,size(max_parameters_pre,1),sum(control_sizes));
    156156                                min_parameters=reshape(min_parameters_pre,size(min_parameters_pre,1),sum(control_sizes));
    157157
    158                                 size(max_parameters)
    159158                                WriteData(fid,prefix,'data',names,'name','md.autodiff.independent_object_names','format','StringArray');
    160159                                WriteData(fid,prefix,'data',types,'name','md.autodiff.independent_object_types','format','IntMat','mattype',3);
Note: See TracChangeset for help on using the changeset viewer.