/[gentoo-x86]/sci-mathematics/cgal/files/cgal-3.3.1-gcc44.patch
Gentoo

Contents of /sci-mathematics/cgal/files/cgal-3.3.1-gcc44.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sun Jan 10 10:37:34 2010 UTC (5 years, 6 months ago) by ssuominen
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
old
(Portage version: 2.2_rc61/cvs/Linux x86_64)

1 --- include/CGAL/Lazy_exact_nt.h.orig 2009-08-12 22:17:43.000000000 +0100
2 +++ include/CGAL/Lazy_exact_nt.h 2009-08-12 22:19:06.000000000 +0100
3 @@ -329,11 +329,11 @@
4 struct Lazy_exact_Min : public Lazy_exact_binary<ET>
5 {
6 Lazy_exact_Min (const Lazy_exact_nt<ET> &a, const Lazy_exact_nt<ET> &b)
7 - : Lazy_exact_binary<ET>((min)(a.approx(), b.approx()), a, b) {}
8 + : Lazy_exact_binary<ET>((CGAL::min)(a.approx(), b.approx()), a, b) {}
9
10 void update_exact()
11 {
12 - this->et = new ET((min)(this->op1.exact(), this->op2.exact()));
13 + this->et = new ET((CGAL::min)(this->op1.exact(), this->op2.exact()));
14 if (!this->approx().is_point()) this->approx() = CGAL_NTS to_interval(*(this->et));
15 this->prune_dag();
16 }
17 @@ -344,11 +344,11 @@
18 struct Lazy_exact_Max : public Lazy_exact_binary<ET>
19 {
20 Lazy_exact_Max (const Lazy_exact_nt<ET> &a, const Lazy_exact_nt<ET> &b)
21 - : Lazy_exact_binary<ET>((max)(a.approx(), b.approx()), a, b) {}
22 + : Lazy_exact_binary<ET>((CGAL::max)(a.approx(), b.approx()), a, b) {}
23
24 void update_exact()
25 {
26 - this->et = new ET((max)(this->op1.exact(), this->op2.exact()));
27 + this->et = new ET((CGAL::max)(this->op1.exact(), this->op2.exact()));
28 if (!this->approx().is_point()) this->approx() = CGAL_NTS to_interval(*(this->et));
29 this->prune_dag();
30 }

  ViewVC Help
Powered by ViewVC 1.1.20