Spa updates

This commit is contained in:
rjbaucells 2015-04-06 23:51:51 -04:00
parent 3b827ddbd8
commit b596a9f054

View File

@ -20,6 +20,12 @@ function factory (type, config, load, typed) {
this._heap = new type.FibonacciHeap();
}
/**
* Set the value for index i.
*
* @param {Number} i The index
* @param {Number | BigNumber | Complex} The value at index i
*/
Spa.prototype.set = function (i, v) {
// check we have a value @ i
if (!this._values[i]) {