mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-07-03 18:22:49 +00:00
arcm:: fixed a potential crash
This commit is contained in:
parent
cfdf016c5d
commit
e7865a62b4
@ -393,7 +393,7 @@ void archimedean_tiling::compute_geometry() {
|
|||||||
|
|
||||||
/* compute the geometry */
|
/* compute the geometry */
|
||||||
inradius.resize(N+1); inradius[N] = 0;
|
inradius.resize(N+1); inradius[N] = 0;
|
||||||
circumradius.resize(N);
|
circumradius.resize(N+1); circumradius[N] = 0;
|
||||||
alphas.resize(N);
|
alphas.resize(N);
|
||||||
ld elmin = 0, elmax = hyperbolic ? 10 : sphere ? M_PI : 1;
|
ld elmin = 0, elmax = hyperbolic ? 10 : sphere ? M_PI : 1;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user