Skip to content

Commit

Permalink
update format type and fix indentation issue
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenhua0320 committed Aug 20, 2024
1 parent fa52c51 commit 7100376
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/diffpy/srmise/modelcluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,9 +153,9 @@ def transform(self, in_format, out_format, **kwds):
Parameters
----------
in_format : Any
in_format : str
The current format of parameters
out_format : Any
out_format : str
The new format for parameters
Keywords
Expand Down Expand Up @@ -282,7 +282,7 @@ def getuncertainty(self, i):
Returns
-------
float
The uncertainty of variable at index i.
The uncertainty of variable at index i.
"""
(l, m) = i if i in self.pmap else self.ipmap[i]
return np.sqrt(self.getcovariance(i, i))
Expand Down Expand Up @@ -329,7 +329,7 @@ def get(self, i):
Returns
-------
(float, float)
The value and uncertainty of variable at index i.
The value and uncertainty of variable at index i.
"""
return (self.getvalue(i), self.getuncertainty(i))

Expand Down

0 comments on commit 7100376

Please sign in to comment.