Commit 0d58e0b6 authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

corrected virtual function error

parent 4ee463b4
Pipeline #1236 failed with stage
in 11 minutes and 24 seconds
--- ---
before_script:
- source ~/toolchain
- export CMAKE_FLAGS="-DCMAKE_C_COMPILER='$CC' -DCMAKE_CXX_COMPILER='$CXX'"
variables: variables:
GIT_SUBMODULE_STRATEGY: recursive GIT_SUBMODULE_STRATEGY: recursive
debian:10 gcc-8-17: debian:10 gcc-8-17:
image: registry.dune-project.org/docker/ci/dune:2.6-debian-10-gcc-8-17 image: registry.dune-project.org/docker/ci/dune:2.6-debian-10-gcc-8-17
script: script:
- duneci-standard-test - dunecontrol --current all
- dunecontrol --current make build_tests
- dunecontrol --current make test
- dunecontrol --current make examples - dunecontrol --current make examples
debian:10 clang-6-libcpp-17: debian:10 clang-6-libcpp-17:
image: registry.dune-project.org/docker/ci/dune:2.6-debian-10-clang-6-libcpp-17 image: registry.dune-project.org/docker/ci/dune:2.6-debian-10-clang-6-libcpp-17
script: script:
- duneci-standard-test - dunecontrol --current all
- dunecontrol --current make build_tests
- dunecontrol --current make test
- dunecontrol --current make examples - dunecontrol --current make examples
debian:9 gcc-6-14: debian:9 gcc-6-14:
image: registry.dune-project.org/docker/ci/dune:2.6-debian-9-gcc-6-14 image: registry.dune-project.org/docker/ci/dune:2.6-debian-9-gcc-6-14
script: script:
- duneci-standard-test - dunecontrol --current all
- dunecontrol --current make build_tests
- dunecontrol --current make test
- dunecontrol --current make examples - dunecontrol --current make examples
ubuntu:18.04 clang-6-17: ubuntu:18.04 clang-6-17:
image: registry.dune-project.org/docker/ci/dune:2.6-ubuntu-18.04-clang-6-17 image: registry.dune-project.org/docker/ci/dune:2.6-ubuntu-18.04-clang-6-17
script: script:
- duneci-standard-test - dunecontrol --current all
- dunecontrol --current make build_tests
- dunecontrol --current make test
- dunecontrol --current make examples - dunecontrol --current make examples
...@@ -9,6 +9,7 @@ namespace AMDiS ...@@ -9,6 +9,7 @@ namespace AMDiS
template <class Matrix, class VectorX, class VectorB> template <class Matrix, class VectorX, class VectorB>
struct ISTLPreconInterface struct ISTLPreconInterface
{ {
virtual ~ISTLPreconInterface() = default;
using PreconBase = Dune::Preconditioner<VectorX, VectorB>; using PreconBase = Dune::Preconditioner<VectorX, VectorB>;
virtual std::unique_ptr<PreconBase> create(Matrix const& matrix) const = 0; virtual std::unique_ptr<PreconBase> create(Matrix const& matrix) const = 0;
}; };
......
...@@ -46,9 +46,6 @@ namespace AMDiS ...@@ -46,9 +46,6 @@ namespace AMDiS
Parameters::get(prefix + "->alloc init", allocInit_); Parameters::get(prefix + "->alloc init", allocInit_);
} }
/// Destructor
~UmfpackRunnerBase() = default;
/// Implementation of \ref RunnerBase::solve() /// Implementation of \ref RunnerBase::solve()
virtual int solve(Matrix const& A, Vector& x, Vector const& b, virtual int solve(Matrix const& A, Vector& x, Vector const& b,
SolverInfo& solverInfo) override SolverInfo& solverInfo) override
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment