Skip to content

Commit

Permalink
Add include guards around measure.h for amalgamated pyne
Browse files Browse the repository at this point in the history
  • Loading branch information
ljacobson64 committed Mar 19, 2019
1 parent 2517952 commit 7ef7a97
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/measure.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@

#include <math.h>

#ifndef PYNE_IS_AMALGAMATED
#include "measure.h"
#endif

class CartVect {
private:
Expand Down
2 changes: 2 additions & 0 deletions src/source_sampling.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@

#include "moab/Range.hpp"
#include "moab/Core.hpp"
#ifndef PYNE_IS_AMALGAMATED
#include "measure.h"
#endif
#include "moab/CartVect.hpp"

#ifdef __cplusplus
Expand Down

0 comments on commit 7ef7a97

Please sign in to comment.