[
https://issues.apache.org/jira/browse/MAHOUT-959?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sean Owen updated MAHOUT-959:
-----------------------------
Resolution: Not A Problem
Fix Version/s: (was: 0.7)
(was: 0.6)
Assignee: Sean Owen (was: Dmitriy Lyubimov)
Status: Resolved (was: Patch Available)
I wrote VectorWritable so I can explain it.
I disagree with the issue report since readVector() does read the flag and does
use it to read floats or doubles correctly.
writesLaxPrecision is a flag that is used for writing only. It tells the
wrapper whether to use floats or doubles when writing, since this is not a
property of the Vector implementation itself (all use doubles).
> 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: 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