Fixed a bug in an equarray