-
Notifications
You must be signed in to change notification settings - Fork 175
Closed
Labels
kind: bugIssues describing general bugs, and PRs fixing themIssues describing general bugs, and PRs fixing themkind: bug: unexpected errorIssues describing bugs in which computation unexpectedly encounters an error, and PRs fixing themIssues describing bugs in which computation unexpectedly encounters an error, and PRs fixing themtopic: HPC-GAPIssues and PRs related to HPC-GAPIssues and PRs related to HPC-GAPtopic: kernel
Description
Observed behaviour
tests in #2521 fail in HPCGAP and I can't see how to rewrite the critical function to make them pass
Expected behaviour
There should be a way to flush the methods cache (of an operation and number of arguments)
when needed.
Copy and paste GAP banner (to tell us about your setup)
********* HPC-GAP 4.10dev-862-g3c8b617 of today
* GAP * https://www.gap-system.org
********* Architecture: x86_64-apple-darwin17.6.0-hpcgap64
Maximum concurrent threads: 4
Configuration: gmp 6.0.0
#W <<< This is an alpha release. >>>
#W <<< Do not use for important work. >>>
It seems (looking at INSTALL_METHOD_FLAGS in oper1.g for instance, that SET_METHODS_OPERATION(oper,n,MakeReadOnlySingleObj(meths));
(after copying the old methods list into meths and editing it, should be the correct way to modify a methods list in HPCGAP, replacing editing it in-place and calling CHANGED_METHODS_OPERATION(oper,n); but this doesn't work. Nothing in SET_METHODS_OPERATION flushes the method cache.
Metadata
Metadata
Assignees
Labels
kind: bugIssues describing general bugs, and PRs fixing themIssues describing general bugs, and PRs fixing themkind: bug: unexpected errorIssues describing bugs in which computation unexpectedly encounters an error, and PRs fixing themIssues describing bugs in which computation unexpectedly encounters an error, and PRs fixing themtopic: HPC-GAPIssues and PRs related to HPC-GAPIssues and PRs related to HPC-GAPtopic: kernel