Skip to content

Commit de2ceda

Browse files
committed
make positional array 2d instead of 3d.
1 parent 452f4ae commit de2ceda

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

client/app/controllers/clientController.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ define(['jquery', 'controllers/tableController', 'helper/mpc', 'alertify', 'aler
4343
for (var i = 0; i < 100; i++) {
4444
analytics.mouse_positions.push([]);
4545
for (var k = 0; k < 1000; k++) {
46-
analytics.mouse_positions[i].push([0])
46+
analytics.mouse_positions[i].push(0)
4747
}
4848
}
4949

@@ -435,8 +435,8 @@ define(['jquery', 'controllers/tableController', 'helper/mpc', 'alertify', 'aler
435435
var analytic_data = analytic_shares['data'];
436436
var analytic_mask = analytic_shares['mask'];
437437

438-
console.log("analytic data", analytic_data);
439-
console.log("analytic masks", analytic_mask);
438+
console.log('analytic data', analytic_data);
439+
console.log('analytic masks', analytic_mask);
440440
// Correlation using modified small pairwise 'hypercubes'. (one cube for each pair of questions)
441441
// For every pair of questions, compute and encrypt the two chosen answers.
442442
var pairwise_hypercubes = {};

0 commit comments

Comments
 (0)