projects
/
IRC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c94e41
)
fix bug
author
bdemsky
<bdemsky>
Sun, 15 Feb 2009 20:19:48 +0000
(20:19 +0000)
committer
bdemsky
<bdemsky>
Sun, 15 Feb 2009 20:19:48 +0000
(20:19 +0000)
Robust/src/Benchmarks/Performance/Fractal.java
patch
|
blob
|
history
diff --git
a/Robust/src/Benchmarks/Performance/Fractal.java
b/Robust/src/Benchmarks/Performance/Fractal.java
index f885354ba08a348e4e9ef32b278225f2c03eaaf6..47e61d3172b81fb83a33c3ade53ff4c54200a564 100644
(file)
--- a/
Robust/src/Benchmarks/Performance/Fractal.java
+++ b/
Robust/src/Benchmarks/Performance/Fractal.java
@@
-112,10
+112,9
@@
public class Fractal {
int id = this.id;
int group = this.group;
float startb = bmin + bdelta * id;
- float endb = bmax - bdelta * (group - id);
- float bspan = bdelta * group;
+ float endb = bmax - bdelta * (group - id - 1);
for(a=amin;a<amax;a+=adelta) {
- for(b=startb;b<endb;b+=b
span
) {
+ for(b=startb;b<endb;b+=b
delta
) {
x=(float)0.0;
y=(float)0.0;
int iteration=0;