p = {'p': [4,5]}
math.eval("min([1,2], p)", p)
>> 4
instead of [1,2]
This
math.eval("min([1,2], [4,5])")
works correctly.
This does NOT work either:
p = {'p': [4,5]}
math.min([1,2], p['p'])
but that works:
p = {'p': math.matrix([4,5])}
math.min([1,2], p['p'])
instead of
[1,2]This
works correctly.
This does NOT work either:
but that works: