Fixed Float32 bug in test_ptp
Merge pull request #1857 from Hengjean/ptp

Fixed Float32 bug in test_ptp