numbas / Numbas

A completely browser-based e-assessment/e-learning system, with an emphasis on mathematics
http://www.numbas.org.uk
Apache License 2.0
207 stars 122 forks source link

Complex number arithmetics #651

Closed zaript closed 5 years ago

zaript commented 5 years ago

In the https://numbas.mathcentre.ac.uk/question/11785/arithmetics-of-complex-numbers-ii/ part A seem to be bugged in some cases:

for 4i*(-7+7i) revealed answer is -28 - - 28i, and the correct answer is not accepted.

christianp commented 5 years ago

Thanks for reporting this. It was fixed in commit 29e98f4717b7fe62feaa2828ab48a8669e4e1019