[
https://issues.apache.org/jira/browse/MAHOUT-959?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13193539#comment-13193539
]
Ted Dunning commented on MAHOUT-959:
------------------------------------
{quote}
It seemed strange that you have the possibility to write as float, they are
read correctly as float, but what you read as float ends up written as double.
{quote}
It is a little strange, but as you say, there isn't any easy way for the vector
itself to remember what it came from.
> VectorWritable does not preserve the laxPrecision flag
> ------------------------------------------------------
>
> Key: MAHOUT-959
> URL: https://issues.apache.org/jira/browse/MAHOUT-959
> Project: Mahout
> Issue Type: Bug
> Components: Math
> Affects Versions: 0.6
> Reporter: Rares Vernica
> Assignee: Sean Owen
> Attachments: MAHOUT-959.patch, VerctorWritable-laxPrecicison.patch
>
>
> When reading a vector, VectorWritable uses the laxPrecision flag to read with
> the right precision, but it does not preserve the flag in case the vector is
> written back.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira