Thank You!
So, it is not very intuitive, but probably I should take into code first,
before posting bug report.
Thanks!
Best regards
Kazek
On Saturday, February 10, 2018 at 10:16:43 PM UTC+1, Kazimierz Kurz wrote:
>
> The following code gives incorrect result.
>
> I create simplicial complex Z.
>
> Z = SimplicialComplex([[0,1,2,3]]);Z
>
> Simplicial complex with vertex set (0, 1, 2, 3) and facets {(0, 1, 2, 3)}
>
>
> It has correct faces:
>
> Z.faces()
>
> {0: set([(3,), (0,), (1,), (2,)]), 1: set([(2, 3), (0, 2), (1, 3), (1, 2),
> (0, 3), (0, 1)]), 2: set([(0, 2, 3), (0, 1, 2), (1, 2, 3), (0, 1, 3)]), 3:
> set([(0, 1, 2, 3)]), -1: set([()])}
>
>
> X1=Z.remove_face([(0,1)]);X1
>
> Simplicial complex with vertex set (0, 1, 2, 3) and facets {(0, 1, 2, 3)}
>
>
> X1.faces()
>
> {0: set([(3,), (0,), (1,), (2,)]), 1: set([(2, 3), (0, 2), (1, 3), (1, 2),
> (0, 3), (0, 1)]), 2: set([(0, 2, 3), (0, 1, 2), (1, 2, 3), (0, 1, 3)]), 3:
> set([(0, 1, 2, 3)]), -1: set([()])}
>
> After face removal it is still there.
> It was very old bug in Sage 5.6
> My code doesn work correctly both in my Sage 6.8 and in Cocalc Internet
> platform:
>
> https://cocalc.com/share/52e64765-ec22-4637-9821-6528d33ab85e/2018-02-10-220535.sagews?viewer=share
>
>
> Best Regards
> Kazek Kurz
>
>
--
You received this message because you are subscribed to the Google Groups
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.