From 0bc8e5e9aaddde8a688123e80eab8895ad3eb4fb Mon Sep 17 00:00:00 2001 From: Reimer Behrends Date: Mon, 30 Mar 2020 12:01:00 +0200 Subject: [PATCH] Workaround to make the recog package load again. The recog package assigns to SMTX.InvariantBilinearForm in c6.gi; however, for HPCGAP, this record is made read-only. We change it to an atomic record so that we don't get a write guard error. --- lib/meatauto.gi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/meatauto.gi b/lib/meatauto.gi index 4815249aac8..6eee9aabed3 100644 --- a/lib/meatauto.gi +++ b/lib/meatauto.gi @@ -1690,5 +1690,5 @@ SMTX.SetEndAlgResidue:=SMTX.Setter("endAlgResidue"); SMTX.EndAlgResidue:=SMTX.Getter("endAlgResidue"); if IsHPCGAP then - MakeReadOnlyObj(SMTX); + SMTX := AtomicRecord(SMTX); fi;