You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hama.apache.org by "Edward J. Yoon (JIRA)" <ji...@apache.org> on 2010/10/14 06:00:33 UTC
[jira] Resolved: (HAMA-308) Pi bug
[ https://issues.apache.org/jira/browse/HAMA-308?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Edward J. Yoon resolved HAMA-308.
---------------------------------
Resolution: Fixed
> Pi bug
> ------
>
> Key: HAMA-308
> URL: https://issues.apache.org/jira/browse/HAMA-308
> Project: Hama
> Issue Type: Bug
> Components: examples
> Affects Versions: 0.2.0
> Reporter: Edward J. Yoon
> Assignee: Edward J. Yoon
> Priority: Trivial
> Fix For: 0.2.0
>
> Attachments: hama-308.patch
>
>
> When the number of task is one, there is no reason to calculate the average.
> {code}
> pi = (pi + Bytes.toDouble(received.getData())) / 2;
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.