~chris-rogers/maus/emr_mc_digitization

« back to all changes in this revision

Viewing changes to src/py_cpp/PyField.cc

  • Committer: Chris Rogers
  • Date: 2014-04-16 11:48:45 UTC
  • mfrom: (707 merge)
  • mto: This revision was merged to the branch mainline in revision 711.
  • Revision ID: chris.rogers@stfc.ac.uk-20140416114845-h3u3q7pdcxkxvovs
Update to trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
51
51
      return NULL;
52
52
    }
53
53
    maus_field->GetFieldValue(point, field);
54
 
  } catch(std::exception& exc) {
 
54
  } catch (std::exception& exc) {
55
55
    PyErr_SetString(PyExc_RuntimeError, (&exc)->what());
56
56
    return NULL;
57
57
  }