Skip to content
Snippets Groups Projects
Commit 1d9f8907 authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

fix E721

parent eb2022f3
No related branches found
No related tags found
No related merge requests found
Pipeline #29245 passed with warnings
......@@ -11,7 +11,7 @@ _zeroVec = array([[0.0, 0.0, 0.0]]).transpose()
def createControlPoint(val):
if type(val) == str:
if isinstance(val, str):
return (_I3, _zeroVec)
else:
return (_zeroMat, val.reshape([3, 1]))
......
......@@ -11,7 +11,7 @@ _zeroVec = array([[0.0, 0.0, 0.0]]).transpose()
def createControlPoint(val):
if type(val) == str:
if isinstance(val, str):
return (_I3, _zeroVec)
else:
return (_zeroMat, val.reshape([3, 1]))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment