Skip to content

Commit

Permalink
Merge pull request #122 from samuelshaner/swig-mac-fix
Browse files Browse the repository at this point in the history
fixed typo in openmoc.i that caused swig error on macs
  • Loading branch information
Will Boyd committed Mar 5, 2015
2 parents 5a0bd5d + 25364ac commit 402efc8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions openmoc/openmoc.i
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@
* the Geometry::getAllCells(), Universe::getAllCells(), etc. These methods
* are particularly useful for OpenCG compatibility. */
%include <std_map.i>
%cleap std::map<int, Cell*>;
%clear std::map<int, Cell*>;
%typemap(out) std::map<int, Cell*> {

$result = PyDict_New();
Expand All @@ -292,7 +292,7 @@
* This includes the Cell::getSurfaces() method, which is useful for OpenCG
* compatibility. */
%include <std_map.i>
%cleap std::map<int, surface_halfspace>;
%clear std::map<int, surface_halfspace>;
%typemap(out) std::map<int, surface_halfspace> {

$result = PyDict_New();
Expand All @@ -317,7 +317,7 @@
* This includes the Geometry::getAllMaterials() method, which is useful
* for OpenCG compatibility. */
%include <std_map.i>
%cleap std::map<int, Material*>;
%clear std::map<int, Material*>;
%typemap(out) std::map<int, Material*> {

$result = PyDict_New();
Expand All @@ -341,7 +341,7 @@
* This includes the Lattice::getUniqueUniverses() method which is ueseful for
* OpenCG compatibility. */
%include <std_map.i>
%cleap std::map<int, Universe*>;
%clear std::map<int, Universe*>;
%typemap(out) std::map<int, Universe*> {

$result = PyDict_New();
Expand Down

0 comments on commit 402efc8

Please sign in to comment.