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.10 by jsr166, Sat Feb 16 21:37:44 2013 UTC vs.
Revision 1.11 by jsr166, Thu Dec 18 18:14:25 2014 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines