Compare commits
2 commits
1e4d6f3d85
...
046ef12ff9
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
046ef12ff9 | ||
|
|
c73b5118a4 |
2 changed files with 1 additions and 2 deletions
|
|
@ -228,8 +228,7 @@ public class Path {
|
|||
* @deprecated Need to be implemented.
|
||||
*/
|
||||
public double getTravelTime(double speed) {
|
||||
// TODO:
|
||||
return speed /getLength()*3.6;
|
||||
return speed/(getLength()*3.6);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Binary file not shown.
Loading…
Reference in a new issue