Skip to content
Snippets Groups Projects
Commit 71b1c3aa authored by Michele Nottoli's avatar Michele Nottoli
Browse files

Fixed a bug.

parent 5d5353dd
No related branches found
No related tags found
No related merge requests found
...@@ -46,7 +46,7 @@ class Extrapolator: ...@@ -46,7 +46,7 @@ class Extrapolator:
self.descriptors.push(self._compute_descriptor(coords)) self.descriptors.push(self._compute_descriptor(coords))
self.overlaps.push(overlap) self.overlaps.push(overlap)
def guess(self, coords: np.ndarray, overlap: Optional[np.ndarray] = None) -> np.ndarray: def guess(self, coords: np.ndarray, overlap = None) -> np.ndarray:
"""Get a new electronic density to be used as a guess.""" """Get a new electronic density to be used as a guess."""
prev_descriptors = self.descriptors.get(self.nsteps) prev_descriptors = self.descriptors.get(self.nsteps)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment