Skip to content

Update code-city.js#7

Open
rbehre wants to merge 2 commits intoquantifiedcode:masterfrom
rbehre:patch-1
Open

Update code-city.js#7
rbehre wants to merge 2 commits intoquantifiedcode:masterfrom
rbehre:patch-1

Conversation

@rbehre
Copy link

@rbehre rbehre commented Jan 6, 2021

The calculation of baseHeight and gd (see function addHouse) could lead to a division through zero.
The proposed changes ensures that both parameters are at least valid.

rbehre added 2 commits January 6, 2021 14:19
The calculation of baseHeight and gd (see function addHouse) could lead to a division through zero.
The proposed changes ensures that both parameters are at least valid.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant