projects
/
platform
/
upstream
/
isl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00472a3
)
isl_seq_normalize: no need to scale down by one
author
Sven Verdoolaege
<skimo@kotnet.org>
Sat, 15 Aug 2009 14:20:38 +0000
(16:20 +0200)
committer
Sven Verdoolaege
<skimo@kotnet.org>
Fri, 28 Aug 2009 17:42:20 +0000
(19:42 +0200)
isl_seq.c
patch
|
blob
|
history
diff --git
a/isl_seq.c
b/isl_seq.c
index
73af52d
..
30e7f54
100644
(file)
--- a/
isl_seq.c
+++ b/
isl_seq.c
@@
-210,7
+210,7
@@
void isl_seq_normalize(isl_int *p, unsigned len)
return;
isl_int_init(gcd);
isl_seq_gcd(p, len, &gcd);
- if (!isl_int_is_zero(gcd))
+ if (!isl_int_is_zero(gcd)
&& !isl_int_is_one(gcd)
)
isl_seq_scale_down(p, p, gcd, len);
isl_int_clear(gcd);
}