Commit 9f59f61e authored by alexander.dornheim's avatar alexander.dornheim
Browse files

Fixed a few wrong references in phase

parent 5341fa48
......@@ -175,10 +175,10 @@ class Phase(Problem):
# respect to the relevant metric (KL or L2),
# that percentage given by
# input.data_ball input by the user.
input.data_ball=input.data_ball*gap_0;
self.config['data_ball']=self.config['data_ball']*gap_0;
# the second tolerance relative to the oder of
# magnitude of the metric
input.TOL2 = input.data_ball*1e-15;
self.config['TOL2'] = self.config['data_ball']*1e-15;
print(self.config);
......@@ -199,7 +199,7 @@ class Phase(Problem):
# algorithm = self.config['algorithm'](self.config)
self.u1,self.u2,self.iters,self.change,self.gap = \
self.algorithm.run(self.u,self.config['tol'],self.config['maxiter'])
self.algorithm.run(self.config['u_0'],self.config['TOL'],self.config['MAXIT'])
def _postsolve(self):
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment