Changeset 4488


Ignore:
Timestamp:
07/08/10 17:36:34 (15 years ago)
Author:
Eric.Larour
Message:

Stupid bug in serial mode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/c/modules/Qmux/SpawnCoreSerial.cpp

    r4439 r4488  
    2222
    2323        int i;
    24        
     24
    2525        //inputs to matlab routine
    2626        mxArray* mxvariables=NULL;
     
    3131
    3232        //mexCallMATLAB arrays
    33         mxArray* array[5];
     33        mxArray* array[4];
    3434
    3535        //output from SpawnCore in matlab routine.
     
    5353        //call SpwanCore matlab routine.
    5454        array[0]=femmodel;
    55         array[2]=mxvariables;
    56         array[3]=mxvariabledescriptors;
    57         array[4]=mxcounter;
     55        array[1]=mxvariables;
     56        array[2]=mxvariabledescriptors;
     57        array[3]=mxcounter;
    5858
    59         mexCallMATLAB(1,&mxresponses,5,array,"SpawnCore");
     59        mexCallMATLAB(1,&mxresponses,4,array,"SpawnCore");
    6060
    6161        /*copy responses back to dakota: */
Note: See TracChangeset for help on using the changeset viewer.