Permalink
Browse files

Correctly avoid unanswerable questions :(

Test plan:
http://localhost:8000/exercises/powers_of_complex_numbers_1.html?debug&problem=0&seed=180
http://localhost:8000/exercises/powers_of_complex_numbers_1.html?seed=193&problem=0&debug

fix #42619; fix #42614; fix #42612; fix #42609; fix #42608; fix #42606;
fix #42598; fix #42562; fix #42561; fix #42554; fix #42532; fix #42530;
fix #42524; fix #42508; fix #42501; fix #42492; fix #42489

Auditors: alpert
  • Loading branch information...
1 parent c170b29 commit 15ef0f5f87244150ee183622503c7a73f29fc8aa @beneater beneater committed Mar 9, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 exercises/powers_of_complex_numbers_1.html
@@ -21,7 +21,7 @@
</head>
<body>
<div class="exercise">
- <div class="vars" data-ensure="!(BASE_ANGLE === 0 && BASE_RADIUS === 1)">
+ <div class="vars" data-ensure="!(ANSWER_ANGLE === 0 && ANSWER_RADIUS === 1)">
<var id="DENOMINATOR">24</var>
<var id="BASE_ANGLE_NUMERATOR">randRange( 0, DENOMINATOR - 1 )</var>
<var id="BASE_ANGLE">BASE_ANGLE_NUMERATOR / DENOMINATOR * 2 * PI</var>

0 comments on commit 15ef0f5

Please sign in to comment.