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

Commit

Permalink
Fix to rate_problems_1 to ensure the givens make sense
Browse files Browse the repository at this point in the history
Summary:
Previously one of the distances could be zero, so the given average
speed didn't make sense. (How can you have an average speed over zero distance?)
This just ensures neither distance is zero.

Test Plan: Tested locally outside devappserver

Reviewers: stephanie, yunfangjuan

Reviewed By: stephanie

Differential Revision: http://phabricator.khanacademy.org/D848
  • Loading branch information
beneater committed Oct 15, 2012
1 parent 50f2d07 commit 6a4c04c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exercises/rate_problems_1.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</head>
<body>
<div class="exercise">
<div class="vars">
<div class="vars" data-ensure="DIST1 !== 0 && DIST2 !==0">
<var id="VEHC1">vehicle(1)</var>
<var id="VEHC2">vehicle(2)</var>

Expand Down

0 comments on commit 6a4c04c

Please sign in to comment.