Skip to content
Permalink
Browse files
Fixed distance
  • Loading branch information
kocsisa2 committed Feb 21, 2020
1 parent 80edabf commit 94f539c3e0cb102431fdc7465e4dd449a6e2e3b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
BIN +4 KB (110%) locations.db
Binary file not shown.
@@ -130,6 +130,7 @@ tr:nth-child(even) {background-color: #f2f2f2;}
})
})
];

if (tidArray[i]==tidArray[i+1] && dateArray[i]==dateArray[i+1])
{
total += distance(latArray[i], latArray[i+1], longArray[i], longArray[i+1]);
@@ -148,6 +149,7 @@ tr:nth-child(even) {background-color: #f2f2f2;}
})
});
} else {
total = 0;
continue;
}

0 comments on commit 94f539c

Please sign in to comment.