Skip to content
This repository has been archived by the owner on May 11, 2021. It is now read-only.

Commit

Permalink
Merge pull request #28868 from xymostech/fix-28803
Browse files Browse the repository at this point in the history
fix #28803; fix #28797
  • Loading branch information
Ben Eater committed Aug 29, 2012
2 parents 8f92106 + d3a8290 commit 10585c4
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions exercises/line_graph_intuition.html
Expand Up @@ -461,11 +461,14 @@
[GRAPH.MN / GRAPH.MD, GRAPH.BN / GRAPH.BD]
</div>
<div class="validator-function">
if ((abs(guess[0] - M) &lt; 0.001) &amp;&amp;
(abs(guess[1] - B) &lt; 0.001)) {
return true;
}
if (guess[0] === 1 &amp;&amp; guess[1] === 1) {
return "";
}
return ((abs(guess[0] - M) &lt; 0.001) &amp;&amp;
(abs(guess[1] - B) &lt; 0.001));
return false;
</div>
</div>
</div>
Expand Down

0 comments on commit 10585c4

Please sign in to comment.