Correct scope of guess constants

This commit is contained in:
Aaron Fenyes 2024-07-18 01:05:13 -07:00
parent b24dcc9af8
commit 33c09917d0
2 changed files with 4 additions and 4 deletions

View File

@ -207,8 +207,8 @@ end
# ~~~ sandbox setup ~~~
elements = begin
const a = sqrt(BigFloat(3)/2)
elements = let
a = sqrt(BigFloat(3)/2)
sqrt(0.5) * BigFloat[
1 1 -1 -1 0
1 -1 1 -1 0

View File

@ -36,8 +36,8 @@ gram[1, 6] = gram[6, 1]
# in this initial guess, the mutual tangency condition is satisfied for spheres
# 1 through 5
Random.seed!(50793)
guess = begin
const a = sqrt(BigFloat(3)/2)
guess = let
a = sqrt(BigFloat(3)/2)
hcat(
sqrt(1/BigFloat(2)) * BigFloat[
1 1 -1 -1 0