removed the strict type requirement for result param
Merge pull request #3099 from darkgaro/fix_complex

removed the strict type requirement for result param