From 5d4b919a8347b2c99b50e0926f509f4c89ca88e7 Mon Sep 17 00:00:00 2001 From: Lars Kastner Date: Wed, 27 Nov 2024 11:30:44 +0100 Subject: [PATCH] ToricVarieties: Fix test that got confused and selected the wrong variables --- test/AlgebraicGeometry/ToricVarieties/toric_blowups.jl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/AlgebraicGeometry/ToricVarieties/toric_blowups.jl b/test/AlgebraicGeometry/ToricVarieties/toric_blowups.jl index 38e7727fbf0c..9e60492291e4 100644 --- a/test/AlgebraicGeometry/ToricVarieties/toric_blowups.jl +++ b/test/AlgebraicGeometry/ToricVarieties/toric_blowups.jl @@ -68,7 +68,8 @@ @test !issubset(pbJ_str, ideal_sheaf(E)) end - I = ideal(S, [S[1], S[2]]) + # Select variables corresponding to rays [1,0] and [0,1] + I = ideal(S, gens(S)[findall(v->v[1]>=0&&v[2]>=0, rays(P2))]) bl2 = blow_up(P2, I) II = IdealSheaf(P2, I)