Fix issue #17

Fix issue about double accuracy