Skip to content

DEEP_COPY_OBJ copies Immutable objects #236

Open
@ChrisJefferson

Description

In GAP, we get:

gap> DeclareGlobalVariable("xyz");
gap> IsMutable(xyz);
false
gap> IsIdenticalObj(xyz, DEEP_COPY_OBJ(xyz));
true

Whereas in HPC-GAP this returns false.

There doesn't seem to be a good reason to make a new object -- in this case the original and new objects are put in the same region.

I tried diving into the code to find out how to stop this happening, but couldn't easily figure out how to change it.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    gapdays2015-fallIssues and PRs that arose at https://www.gapdays.de/gapdays2015-fallkind: bugIssues describing general bugs, and PRs fixing themtopic: HPC-GAPIssues and PRs related to HPC-GAP

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions