Skip to content
Snippets Groups Projects
Commit ea4f8e83 authored by Antonio Manesco's avatar Antonio Manesco
Browse files

smaller scaling

parent 4a29d05f
No related branches found
No related tags found
1 merge request!3create solvers and interface modules
......@@ -54,9 +54,9 @@ class Model:
Hopping vectors for the mean-field corrections.
"""
if self.int_model is None:
scale = 1
scale = 0.1
else:
scale = 1+np.max(np.abs([*self.int_model.values()]))
scale = 0.1*(1+np.max(np.abs([*self.int_model.values()])))
self.guess = utils.generate_guess(
vectors=vectors,
ndof=self.ndof,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment