projects
/
IRC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1c61ab
)
bug fix
author
jzhou
<jzhou>
Mon, 16 Feb 2009 19:56:08 +0000
(19:56 +0000)
committer
jzhou
<jzhou>
Mon, 16 Feb 2009 19:56:08 +0000
(19:56 +0000)
Robust/src/Benchmarks/Scheduling/Fractal/Fractal.java
patch
|
blob
|
history
diff --git
a/Robust/src/Benchmarks/Scheduling/Fractal/Fractal.java
b/Robust/src/Benchmarks/Scheduling/Fractal/Fractal.java
index a5bbfe5b4c2833b2ac3dd270485713ddb9301c94..dc5071cd5d18d0dca2ec96c4896feb453089a1e2 100644
(file)
--- a/
Robust/src/Benchmarks/Scheduling/Fractal/Fractal.java
+++ b/
Robust/src/Benchmarks/Scheduling/Fractal/Fractal.java
@@
-112,15
+112,9
@@
public class Fractal {
int id = this.id;
int group = this.group;
float startb = bmin + bdelta * id;
- float endb;
- if(id + 1 == group) {
- endb = bmax;
- } else {
- endb = bmax + bdelta * id;
- }
float bspan = bdelta * group;
for(a=amin;a<amax;a+=adelta) {
- for(b=startb;b<
endb
;b+=bspan) {
+ for(b=startb;b<
bmax
;b+=bspan) {
x=(float)0.0;
y=(float)0.0;
int iteration=0;