Skip to content

Commit

Permalink
Change large shift values to get better finite-difference comparisons.
Browse files Browse the repository at this point in the history
  • Loading branch information
randyjread committed Mar 18, 2022
1 parent 719af7f commit d7531b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scitbx/dtmin/regression/tst_dtmin_twisted.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def macrocycle_parameter_names(self):
return ["x", "y"]

def macrocycle_large_shifts(self):
return [10., 10.]
return [1., 1.]

def target(self):
return twisted_gauss2d0(self.xy, self.s11, self.s12, self.s22, self.twist)
Expand Down Expand Up @@ -333,7 +333,7 @@ def run():
protocol = [macro1] # overall minimization protocol
ncyc = 50 # maximum number of microcycles per macrocycle
minimizer_type = "bfgs" # minimizer, bfgs or newton
study_params = False # flag for calling studyparams procedure
study_params = True # flag for calling studyparams procedure

#create the minimizer object
minimizer = Minimizer(output_level=0) # 0 for MUTE output see Minimizer.py
Expand Down

0 comments on commit d7531b3

Please sign in to comment.