ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/test/loops/FJPhaserJacobi.java
(Generate patch)

Comparing jsr166/src/test/loops/FJPhaserJacobi.java (file contents):
Revision 1.4 by dl, Fri Oct 30 14:15:04 2009 UTC vs.
Revision 1.5 by jsr166, Mon Nov 2 23:55:36 2009 UTC

# Line 143 | Line 143 | public class FJPhaserJacobi {
143          public void compute() {
144              int rows = hiRow - loRow + 1;
145              int cols = hiCol - loCol + 1;
146 <            int rblocks = (int)(Math.round((float)rows / dimGran));
147 <            int cblocks = (int)(Math.round((float)cols / dimGran));
146 >            int rblocks = Math.round((float)rows / dimGran);
147 >            int cblocks = Math.round((float)cols / dimGran);
148  
149              int n = rblocks * cblocks;
150  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines