mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-09-05 04:40:19 -05:00
Set default value for use_gpu, using Dune would segfault because of the unitialized value
This commit is contained in:
@@ -49,7 +49,7 @@ class BdaBridge
|
|||||||
private:
|
private:
|
||||||
std::unique_ptr<bda::BdaSolver> backend;
|
std::unique_ptr<bda::BdaSolver> backend;
|
||||||
std::string gpu_mode;
|
std::string gpu_mode;
|
||||||
bool use_gpu;
|
bool use_gpu = false;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
/// Construct a BdaBridge
|
/// Construct a BdaBridge
|
||||||
|
|||||||
Reference in New Issue
Block a user