Changeset f310c1 in git
- Timestamp:
- Jun 15, 2022, 8:03:20 PM (23 months ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 0535f5211e00903aa6b27b280d8034b03a819d5c
- Parents:
- cf8a274644e002595e7268b7b81efcc5c87cc4bf
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/combinatorics/hilb.cc
rcf8a274 rf310c1 1714 1714 } 1715 1715 1716 #ifdef __APPLE__ 1717 static int compare_rp(void *arg,const void *pp1, const void *pp2) 1718 #else 1716 1719 static int compare_rp(const void *pp1, const void *pp2, void* arg) 1720 #endif 1717 1721 { 1718 1722 poly p1=*(poly*)pp1; … … 1862 1866 idSkipZeroes(AA); 1863 1867 /* sort */ 1864 if (IDELEMS(AA)>1) qsort_r(AA->m,IDELEMS(AA),sizeof(poly),compare_rp,src); 1868 if (IDELEMS(AA)>1) 1869 #ifdef __APPLE__ 1870 qsort_r(AA->m,IDELEMS(AA),sizeof(poly),src,compare_rp); 1871 #else 1872 qsort_r(AA->m,IDELEMS(AA),sizeof(poly),compare_rp,src); 1873 #endif 1865 1874 poly s=hilbert_series(AA,src,wdegree,Qt); 1866 1875 id_Delete(&AA,src);
Note: See TracChangeset
for help on using the changeset viewer.