mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06: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:
|
||||
std::unique_ptr<bda::BdaSolver> backend;
|
||||
std::string gpu_mode;
|
||||
bool use_gpu;
|
||||
bool use_gpu = false;
|
||||
|
||||
public:
|
||||
/// Construct a BdaBridge
|
||||
|
||||
Reference in New Issue
Block a user