Remove duplicated return statement in area_reg_polygon (#14362)

This commit is contained in:
Jaime Fernández González
2026-03-10 06:44:09 +01:00
committed by GitHub
parent 32a3d0d0bb
commit af131b7c3f

View File

@@ -552,7 +552,6 @@ equal to three as number of sides"
length of a side"
)
return (sides * length**2) / (4 * tan(pi / sides))
return (sides * length**2) / (4 * tan(pi / sides))
if __name__ == "__main__":