Changeset 24107


Ignore:
Timestamp:
07/29/19 02:00:49 (6 years ago)
Author:
Mathieu Morlighem
Message:

CHG: minor cosmetics

Location:
issm/trunk-jpl/src/wrappers
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified issm/trunk-jpl/src/wrappers/matlab/io/FetchMatlabData.cpp

    r23649 r24107  
    436436        Contour<double> *contouri    = NULL;
    437437
    438         if (mxIsClass(dataref,"char")){
     438        if(mxIsClass(dataref,"char")){
    439439                FetchData(&contourname,dataref);
    440440                contours=ExpRead<double>(contourname);
  • TabularUnified issm/trunk-jpl/src/wrappers/python/io/FetchPythonData.cpp

    r23708 r24107  
    931931        #if _PYTHON_MAJOR_ >= 3
    932932        if (PyUnicode_Check(py_list)){
     933        #else
     934        if (PyString_Check(py_list)){
     935        #endif
    933936                FetchData(&contourname,py_list);
    934937                contours=ExpRead<double>(contourname);
    935938        }
    936         #else
    937         if (PyString_Check(py_list)){
    938                 FetchData(&contourname,py_list);
    939                 contours=ExpRead<double>(contourname);
    940         }
    941         #endif
    942939        else if(PyList_Check(py_list)){
    943940
Note: See TracChangeset for help on using the changeset viewer.