Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit e9952b1

Browse filesBrowse files
committed
work without sympy
1 parent 525e47b commit e9952b1
Copy full SHA for e9952b1

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎spatialmath/base/vectors.py

Copy file name to clipboardExpand all lines: spatialmath/base/vectors.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ def norm(v):
133133
for x in v:
134134
sum += x * x
135135

136-
if isinstance(sum, sympy.Expr):
136+
if _symbolics and isinstance(sum, sympy.Expr):
137137
return sympy.sqrt(sum)
138138
else:
139139
return math.sqrt(sum)

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.