fix error
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
function [r, Times, OutputRs, Wellpara, trun] = run_case(config)
|
||||
function [r, Times, OutputRs, Wellpara, trun] = run_case(config, progress_callback)
|
||||
%RUN_CASE Execute a simulation from unified config.
|
||||
%
|
||||
% This is the first migration step from hard-coded main1.m scripts toward a
|
||||
@@ -8,6 +8,7 @@ function [r, Times, OutputRs, Wellpara, trun] = run_case(config)
|
||||
|
||||
arguments
|
||||
config (1,1) struct
|
||||
progress_callback = []
|
||||
end
|
||||
|
||||
project_root = fileparts(fileparts(fileparts(mfilename('fullpath'))));
|
||||
@@ -81,7 +82,8 @@ Wellc = handle_well1_well2(well1, well2, welloc, r);
|
||||
config.schedule.dtmax, ...
|
||||
Wellc, ...
|
||||
config.schedule.time, ...
|
||||
config.schedule.well_schedules);
|
||||
config.schedule.well_schedules, ...
|
||||
progress_callback);
|
||||
|
||||
trun.run_time = toc(overall_tic);
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user