phetsims / pendulum-lab

"Pendulum Lab" is an educational simulation in HTML5, by PhET Interactive Simulations.
GNU General Public License v3.0
4 stars 10 forks source link

String tests can cause negative graph height, errors out #142

Closed jonathanolson closed 8 years ago

jonathanolson commented 8 years ago
Uncaught Error: Assertion failed: A rectangle needs to have a non-negative finite height (-100.8837890625)
window.assertions.assertFunction @ assert.js:23
  inherit.invalidateRectangle @ Rectangle.js?bust=1455048758002:288
  Rectangle.(anonymous function) @ Rectangle.js?bust=1455048758002:448
  inherit.update @ SingleEnergyGraphNode.js?bust=1455048758002:169
  inherit.emit2 @ Emitter.js?bust=1455048758002:139
  inherit._notifyObservers @ Property.js?bust=1455048758002:135
  inherit._setAndNotifyObservers @ Property.js?bust=1455048758002:123
  inherit.set @ Property.js?bust=1455048758002:91
  value @ Property.js?bust=1455048758002:164
  AccordionBox.collapsedTitleBar.addInputListener.down @ AccordionBox.js?bust=1455048758002:158
  inherit.dispatchToTargets @ Input.js?bust=1455048758002:846
  inherit.dispatchEvent @ Input.js?bust=1455048758002:788
  inherit.downEvent @ Input.js?bust=1455048758002:672
  inherit.mouseDown @ Input.js?bust=1455048758002:315
  inherit.run @ BatchedDOMEvent.js?bust=1455048758002:63
  inherit.fireBatchedEvents @ Input.js?bust=1455048758002:158
  inherit.batchEvent @ Input.js?bust=1455048758002:128
  onmousedown @ Input.js?bust=1455048758002:109