mirror of
				https://github.com/OPM/opm-simulators.git
				synced 2025-02-25 18:55:30 -06:00 
			
		
		
		
	Restore Debug Builds
This was broken in commit b5580f39f (PR #3222) which removed the
'start_perf_next_well' symbol but did not update every use location.
			
			
This commit is contained in:
		@@ -683,7 +683,8 @@ namespace Opm
 | 
			
		||||
                        const int start_perf = connpos;
 | 
			
		||||
 | 
			
		||||
                        // make sure the information from wells_ecl consistent with wells
 | 
			
		||||
                        assert(n_activeperf == (start_perf_next_well - start_perf));
 | 
			
		||||
                        assert((n_activeperf == num_perf_this_well) &&
 | 
			
		||||
                               "Inconsistent number of reservoir connections in well");
 | 
			
		||||
 | 
			
		||||
                        if (pu.phase_used[Gas]) {
 | 
			
		||||
                            auto * perf_rates = &this->mutable_perfPhaseRates()[np * start_perf];
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user