Skip to content

Commit

Permalink
Merge pull request trilinos#5333 from trilinos/issue-5327
Browse files Browse the repository at this point in the history
epetra: Fix for unguarded SuperLU macro
  • Loading branch information
jhux2 authored Jun 6, 2019
2 parents 3a7d195 + f98c5e4 commit b06bad0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/epetra/src/Epetra_IntMultiVector.h
Original file line number Diff line number Diff line change
Expand Up @@ -716,7 +716,9 @@ class EPETRA_LIB_DLL_EXPORT Epetra_IntMultiVector: public Epetra_DistObject, pub

// Expert-only function
// SuperLU defines Reduce to be a macro in util.h
#ifdef Reduce
#undef Reduce
#endif
int Reduce();

protected:
Expand Down
3 changes: 3 additions & 0 deletions packages/epetra/src/Epetra_MultiVector.h
Original file line number Diff line number Diff line change
Expand Up @@ -985,6 +985,9 @@ class EPETRA_LIB_DLL_EXPORT Epetra_MultiVector: public Epetra_DistObject, public
//@}

// Expert-only function
#ifdef Reduce
#undef Reduce
#endif
int Reduce();

protected:
Expand Down

0 comments on commit b06bad0

Please sign in to comment.