[
https://issues.apache.org/jira/browse/HAMA-308?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12920843#action_12920843
]
Edward J. Yoon commented on HAMA-308:
-------------------------------------
oh, even if the number of tasks is greater than 1, it should not attempt to
calculate the avg. :/
Local test passed. I'm resolving this issue now.
> 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.