Skip to content

Conversation

gagern
Copy link

@gagern gagern commented Nov 18, 2014

The reciprocal function is broken when applied to a complex number with zero imaginary part. The code path forgot to use a namespace for the result, and also forgot to include the imaginary part of the result. I added a suitable test case to the documentation to check for this. The missing namespace was found by jshint, the missing imaginary part then exposed by the unit test I had added.

gagern added a commit to CindyJS/CindyJS that referenced this pull request Sep 8, 2015
montaga pushed a commit to montaga/CindyJS that referenced this pull request Oct 16, 2015
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