Distance matrix fixes

This commit is contained in:
Lauren Budorick
2016-03-29 18:18:09 -07:00
committed by Patrick Niklaus
parent c8a8859d2f
commit 4b6a85aae0
3 changed files with 11 additions and 9 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ module.exports = function () {
var result = json['durations'].map(row => {
var hashes = {};
row.forEach((v, i) => hashes[tableRows[0][i+1]] = v);
row.forEach((v, i) => { hashes[tableRows[0][i+1]] = isNaN(parseInt(v)) ? '' : v; });
return hashes;
});