G = digraph {{1,{}}, {2,{}}}R = markovRing (2,2)discreteVanishingIdeal (R,G)
gives error
stdio:4:1:(3): error: no method found for applying promote to:
argument 1 : 0 (of class QQ[p , p , p , p ])
1,1 1,2 2,1 2,2
argument 2 : QQ[p , p , p , p ]
1,1 1,2 2,1 2,2
also, if I substitute a wrong type of ring, say
G=graph{{1,2},{1,3},{2,3}}discreteVanishingIdeal (R,G)
it doesn't say that the graph is incompatible. Instead, it gives
stdio:8:1:(3): error: Number of vertices of graph does not match size of ring
and it doesn't seem that the function checks anywhere that the graph is actually a Digraph.
G = digraph {{1,{}}, {2,{}}}
R = markovRing (2,2)
discreteVanishingIdeal (R,G)
gives error stdio:4:1:(3): error: no method found for applying promote to: argument 1 : 0 (of class QQ[p , p , p , p ]) 1,1 1,2 2,1 2,2 argument 2 : QQ[p , p , p , p ] 1,1 1,2 2,1 2,2also, if I substitute a wrong type of ring, say
G=graph{{1,2},{1,3},{2,3}}
discreteVanishingIdeal (R,G)
it doesn't say that the graph is incompatible. Instead, it gives stdio:8:1:(3): error: Number of vertices of graph does not match size of ringand it doesn't seem that the function checks anywhere that the graph is actually a Digraph.