Skip to content

Commit a65c1b5

Browse files
james-d-mitchellwilfwilson
authored andcommitted
Remove some legacy code for GAP 4.9
1 parent f4b2021 commit a65c1b5

File tree

4 files changed

+4
-18
lines changed

4 files changed

+4
-18
lines changed

PackageInfo.g

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
## <#GAPDoc Label="PKGVERSIONDATA">
1212
## <!ENTITY VERSION "1.3.0">
13-
## <!ENTITY GAPVERS "4.9.0">
13+
## <!ENTITY GAPVERS "4.10.0">
1414
## <!ENTITY GRAPEVERS "4.8.1">
1515
## <!ENTITY IOVERS "4.5.1">
1616
## <!ENTITY ORBVERS "4.8.2">

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ For questions, remarks, suggestions, and issues please use the
2424

2525
## Installation
2626

27-
It is assumed that you have a working copy of [GAP][] with version number 4.9.0
28-
or higher. The most up-to-date version of GAP, and instructions on how to
29-
install it, can be obtained from the
27+
It is assumed that you have a working copy of [GAP][] with version number
28+
4.10.0 or higher. The most up-to-date version of GAP, and instructions on how
29+
to install it, can be obtained from the
3030
[main GAP webpage](https://www.gap-system.org).
3131

3232
The following is a summary of the steps that should lead to a successful

src/digraphs.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,6 @@ Obj IsPermGroup;
5555
Obj IsDigraphAutomorphism;
5656
Obj LargestMovedPointPerms;
5757

58-
#if !defined(GAP_KERNEL_MAJOR_VERSION) || GAP_KERNEL_MAJOR_VERSION < 3
59-
// compatibility with GAP <= 4.9
60-
static inline Obj NEW_PLIST_IMM(UInt type, Int plen) {
61-
return NEW_PLIST(type | IMMUTABLE, plen);
62-
}
63-
#endif
64-
6558
static inline bool IsAttributeStoringRep(Obj o) {
6659
return (CALL_1ARGS(IsAttributeStoringRepObj, o) == True ? true : false);
6760
}

src/planar.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,6 @@
3232
#include "planarity/graphK4Search.h"
3333
#endif
3434

35-
#if !defined(GAP_KERNEL_MAJOR_VERSION) || GAP_KERNEL_MAJOR_VERSION < 3
36-
// compatibility with GAP <= 4.9
37-
static inline Obj NEW_PLIST_IMM(UInt type, Int plen) {
38-
return NEW_PLIST(type | IMMUTABLE, plen);
39-
}
40-
#endif
41-
4235
// Forward declaration of the main function in this file.
4336
Obj boyers_planarity_check(Obj digraph, int flags, bool krtwsk);
4437

0 commit comments

Comments
 (0)