Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
lvjonok committed Jan 12, 2024
1 parent e337962 commit e741185
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion darli/arrays/casadi.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def array(*x) -> "CasadiLike":
CasadiLike: Vector wrapping *x
"""
return CasadiLike(cs.SX.sym(*x))

@staticmethod
def norm_2(x) -> "CasadiLike":
"""
Expand Down
2 changes: 1 addition & 1 deletion darli/arrays/numpy.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def array(x) -> "NumpyLike":
NumpyLike: Vector wrapping *x
"""
return NumpyLike(np.array(x))

@staticmethod
def norm_2(x) -> "NumpyLike":
"""
Expand Down
2 changes: 1 addition & 1 deletion darli/modeling/contact.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def __init__(self, name: str, backend: BackendBase, frame: Frame, type="point"):
f"force_{self.__name}", self.dim
).array
else:
self.__force = self.__backend.math.zeros(self.dim)
self.__force = self.__backend.math.zeros(self.dim).array

self.__contact_qforce = self.__jacobian @ self.__force

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[project]
name = "darli"
description = "The DARLi is a Python 3 library that supports both numerical and symbolical computations of open loop articulated robots provided urdf file."
version = "0.2.3"
version = "0.2.4"
authors = [{ name = "Lev Kozlov" }, { name = "Simeon Nedelchev" }]
dependencies = ["cmeel_casadi_kin_dyn==1.6.6"]
readme = "README.md"
Expand Down

0 comments on commit e741185

Please sign in to comment.