docs: fix typo in comment

Signed-off-by: Dev Singh <dev@devksingh.com>
This commit is contained in:
Dev Singh 2020-09-22 18:59:22 +00:00
parent d3de029269
commit ab40e66a2c

View File

@ -279,7 +279,7 @@ class CircleFit:
# Calculate the distances from center (xc_1, yc_1)
Ri_1 = self.ournp.sqrt((x-xc_1)**2 + (y-yc_1)**2)
R_1 = self.ournp.mean(Ri_1)
# calcualte residual error
# calculate residual error
residu_1 = self.ournp.sum((Ri_1-R_1)**2)
return xc_1, yc_1, R_1, residu_1
def HyperFit(self):