mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-23 13:07:16 +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 */
|
||||
inradius.resize(N+1); inradius[N] = 0;
|
||||
circumradius.resize(N);
|
||||
circumradius.resize(N+1); circumradius[N] = 0;
|
||||
alphas.resize(N);
|
||||
ld elmin = 0, elmax = hyperbolic ? 10 : sphere ? M_PI : 1;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user