mirror of
				https://github.com/OPM/opm-simulators.git
				synced 2025-02-25 18:55:30 -06:00 
			
		
		
		
	fixed: segfault due to taking a reference to temporary
This commit is contained in:
		| @@ -565,9 +565,9 @@ BOOST_AUTO_TEST_CASE(Create) | |||||||
|  |  | ||||||
|     BOOST_REQUIRE_EQUAL(comm.size(), 2); |     BOOST_REQUIRE_EQUAL(comm.size(), 2); | ||||||
|  |  | ||||||
|  |     const Opm::GridDims dims{5, 5, 10}; | ||||||
|     auto wbpCalcService = Opm::ParallelWBPCalculation { |     auto wbpCalcService = Opm::ParallelWBPCalculation { | ||||||
|         Opm::GridDims { 5, 5, 10 }, |         dims, comm | ||||||
|         comm |  | ||||||
|     }; |     }; | ||||||
|  |  | ||||||
|     setCallbacks(comm.rank(), wbpCalcService); |     setCallbacks(comm.rank(), wbpCalcService); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user