Skip to content
Permalink
Browse files

Merge pull request #13315 from permcody/fix_slepc_include

Fix SLEPc include guard in the .C file
  • Loading branch information...
fdkong committed Apr 26, 2019
2 parents 558ff84 + 655a482 commit dd6395c2cfe482636d9a358f44151ffe0d3d0478
Showing with 2 additions and 6 deletions.
  1. +2 −1 framework/include/utils/SlepcSupport.h
  2. +0 −5 framework/src/utils/SlepcSupport.C
@@ -13,6 +13,8 @@

#ifdef LIBMESH_HAVE_SLEPC

#include "libmesh/petsc_macro.h"

#include "Moose.h"

class EigenProblem;
@@ -45,4 +47,3 @@ PetscErrorCode mooseSlepcEigenFormFunctionAB(SNES snes, Vec x, Vec Ax, Vec Bx, v
} // namespace moose

#endif // LIBMESH_HAVE_SLEPC

@@ -7,9 +7,6 @@
//* Licensed under LGPL 2.1, please see LICENSE for details
//* https://www.gnu.org/licenses/lgpl-2.1.html

#ifndef SLEPCSUPPORT_H
#define SLEPCSUPPORT_H

#include "libmesh/libmesh_config.h"

#ifdef LIBMESH_HAVE_SLEPC
@@ -564,5 +561,3 @@ mooseSlepcEigenFormFunctionAB(SNES /*snes*/, Vec x, Vec Ax, Vec Bx, void * ctx)
} // namespace moose

#endif // LIBMESH_HAVE_SLEPC

#endif // SLEPCSUPPORT_H

0 comments on commit dd6395c

Please sign in to comment.
You can’t perform that action at this time.