Skip to content
Snippets Groups Projects
Commit fedf1cd9 authored by Nicolas Mansard's avatar Nicolas Mansard Committed by Nicolas Mansard
Browse files

Corrected a wrong cast for specialized type in signal value accessor.

parent 77fafcbc
No related branches found
No related tags found
No related merge requests found
......@@ -126,6 +126,9 @@ def stringToObject(string) :
Successively attempts conversion in the above order and return
on success. If no conversion fits, the string is returned.
"""
if isinstance(string,float): return string
if isinstance(string,int): return string
if isinstance(string,tuple): return string
try :
return stringToMatrix(string)
except :
......
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