Skip to content

Conversation

@DamienIrving
Copy link
Contributor

At the end of the defensive programming lesson it says that an important rule of programming is to always initialize from data. In the solution to the final challenge of that lesson the highest and lowest value are initialized using numpy.inf. I've changed this so they are initialized from the data instead.

@tbekolay tbekolay merged commit 45ba846 into swcarpentry:gh-pages Sep 22, 2016
@tbekolay
Copy link
Contributor

Thanks for this! It's definitely good to practice what we preach :)

rgaiacs pushed a commit to rgaiacs/swc-python-novice-inflammation that referenced this pull request May 6, 2017
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.

2 participants