Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 411380 Details for
Bug 519414
sci-geosciences/grass-6.4.2 - ?
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
grass-6.4.2.minmaxheap.h.patch
grass-6.4.2.minmaxheap.h.patch (text/plain), 834 bytes, created by
Marco Genasci
on 2015-09-09 06:14:45 UTC
(
hide
)
Description:
grass-6.4.2.minmaxheap.h.patch
Filename:
MIME Type:
Creator:
Marco Genasci
Created:
2015-09-09 06:14:45 UTC
Size:
834 bytes
patch
obsolete
>--- include/iostream/minmaxheap.h 2010-04-17 14:15:22.000000000 +0200 >+++ include/iostream/minmaxheap.h.p 2015-09-08 16:49:38.596067827 +0200 >@@ -744,7 +744,7 @@ > //heap must be empty > assert(this->size()==0); > for (i = 0; !full() && i<n; i++) { >- insert(arr[i]); >+ this->insert(arr[i]); > } > if (i < n) { > assert(i == this->maxsize); >@@ -777,13 +777,13 @@ > > if(old) { > HeapIndex n = this->size(); >- this->A = allocateHeap(this->maxsize); /* allocate a new array */ >+ this->A = this->allocateHeap(this->maxsize); /* allocate a new array */ > /* copy over the old values */ > assert(this->maxsize > n); > for(HeapIndex i=0; i<=n; i++) { /* why extra value? -RW */ > this->A[i] = old[i]; > } >- freeHeap(old); /* free up old storage */ >+ this->freeHeap(old); /* free up old storage */ > } > > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 519414
:
382528
|
382772
| 411380 |
411382
|
411384