Skip to content

Commit

Permalink
pyfimex0: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-buerger-met-no committed Oct 30, 2019
1 parent c37c09b commit 00c92c6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions modules/python/pyfimex0_CoordinateSystem.cc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Fimex, pyfimex0_CoordinateSystem.cc
*
* (C) Copyright 2018, met.no
* (C) Copyright 2018-2019, met.no
*
* Project Info: https://wiki.met.no/fimex/start
*
Expand Down Expand Up @@ -49,12 +49,12 @@ CoordinateSystem_cp findCompleteCoordinateSystemFor1(const std::vector<Coordinat
return findCompleteCoordinateSystemFor(cs, varName);
}

CoordinateAxis_cp CoordinateSyste__findAxisOfType1(CoordinateSystem_cp cs, CoordinateAxis::AxisType type)
CoordinateAxis_cp CoordinateSystem__findAxisOfType1(CoordinateSystem_cp cs, CoordinateAxis::AxisType type)
{
return cs->findAxisOfType(type);
}

CoordinateAxis_cp CoordinateSyste__findAxisOfType2(CoordinateSystem_cp cs, const std::vector<CoordinateAxis::AxisType>& types)
CoordinateAxis_cp CoordinateSystem__findAxisOfType2(CoordinateSystem_cp cs, const std::vector<CoordinateAxis::AxisType>& types)
{
return cs->findAxisOfType(types);
}
Expand All @@ -81,8 +81,8 @@ void pyfimex0_CoordinateSystem(py::module m)

py::class_<CoordinateSystem, CoordinateSystem_p>(m, "_CoordinateSystem")
.def("id", &CoordinateSystem::id)
.def("findAxisOfType", &CoordinateSyste__findAxisOfType1)
.def("findAxisOfType", &CoordinateSyste__findAxisOfType2);
.def("findAxisOfType", &CoordinateSystem__findAxisOfType1)
.def("findAxisOfType", &CoordinateSystem__findAxisOfType2);

m.def("listCoordinateSystems", listCoordinateSystems1);
m.def("findCompleteCoordinateSystemFor", findCompleteCoordinateSystemFor1);
Expand Down

0 comments on commit 00c92c6

Please sign in to comment.