Skip to content

Commit

Permalink
fixed a bug with an assert statement
Browse files Browse the repository at this point in the history
  • Loading branch information
jbphet committed Oct 8, 2015
1 parent 2fa5c4e commit 32d3cb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/neuron/view/ParticleNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ define( function( require ) {
var size;
var representationShape;

assert && assert( particle.getType === ParticleType.SODIUM_ION || particle.getType === ParticleType.POTASSIUM_ION );
assert && assert( particle.getType() === ParticleType.SODIUM_ION || particle.getType() === ParticleType.POTASSIUM_ION );

switch( particle.getType() ) {
case ParticleType.SODIUM_ION:
Expand Down

0 comments on commit 32d3cb6

Please sign in to comment.