diff --git a/README.md b/README.md
index 196bfbb2..e077e75b 100644
--- a/README.md
+++ b/README.md
@@ -2,8 +2,8 @@
**aeneas** is a Python/C library and a set of tools to automagically synchronize audio and text (aka forced alignment).
-* Version: 1.5.0.2
-* Date: 2016-04-09
+* Version: 1.5.0.3
+* Date: 2016-04-23
* Developed by: [ReadBeyond](http://www.readbeyond.it/)
* Lead Developer: [Alberto Pettarin](http://www.albertopettarin.it/)
* License: the GNU Affero General Public License Version 3 (AGPL v3)
diff --git a/README.rst b/README.rst
index b7fcd9d6..3ba66b6f 100644
--- a/README.rst
+++ b/README.rst
@@ -4,8 +4,8 @@ aeneas
**aeneas** is a Python/C library and a set of tools to automagically
synchronize audio and text (aka forced alignment).
-- Version: 1.5.0.2
-- Date: 2016-04-09
+- Version: 1.5.0.3
+- Date: 2016-04-23
- Developed by: `ReadBeyond `__
- Lead Developer: `Alberto Pettarin `__
- License: the GNU Affero General Public License Version 3 (AGPL v3)
diff --git a/aeneas/sd.py b/aeneas/sd.py
index 1428c6ca..d7f7b000 100644
--- a/aeneas/sd.py
+++ b/aeneas/sd.py
@@ -266,7 +266,7 @@ def _sanitize(value, default, name):
self.log(u"No speech intervals, hence no start found")
if tail:
self.real_wave_mfcc.reverse()
- return 0.0
+ return TimeValue("0.000")
# generate a list of begin indices
search_end = None
@@ -317,7 +317,7 @@ def _sanitize(value, default, name):
# return
if len(candidates) < 1:
self.log(u"No candidates found")
- return 0.0
+ return TimeValue("0.000")
self.log(u"Candidates:")
for candidate in candidates:
self.log([u" Value: %.6f Begin Time: %.3f Min Index: %d", candidate[0], candidate[1] * mws, candidate[2]])
diff --git a/docs/source/changelog.rst b/docs/source/changelog.rst
index 99ecf868..70e7c0b4 100644
--- a/docs/source/changelog.rst
+++ b/docs/source/changelog.rst
@@ -1,6 +1,11 @@
Changelog
=========
+v1.5.0.3 (2016-04-23)
+---------------------
+
+#. Fix an issue in ``sd`` with ``float`` returned instead of ``TimeValue``
+
v1.5.0.2 (2016-04-09)
---------------------
diff --git a/setup.py b/setup.py
index 797e184f..b326066c 100644
--- a/setup.py
+++ b/setup.py
@@ -86,7 +86,7 @@
"aeneas.extra": ["*.md"],
"aeneas.tools": ["res/*", "*.md"]
},
- version="1.5.0.2",
+ version="1.5.0.3",
description=SHORT_DESCRIPTION,
author="Alberto Pettarin",
author_email="alberto@albertopettarin.it",