v-l-m / vlm

Virtual loup de mer (aka Vlm) is an opensource sailing simulation
http://v-l-m.org
GNU Affero General Public License v3.0
27 stars 10 forks source link

LOCH a 1h, 3h, 24h incorrect. #453

Closed pzia closed 9 years ago

pzia commented 9 years ago

Reported by spf on 9 Oct 2010 12:50 UTC On utilise la table positions, il vaudrait mieux soit rajouter le loch dans la table, soit avoir une table a part pur calculer le loch et ne pas toucher a la grosse table 'positions'

pzia commented 9 years ago

Commented by spf on 9 Oct 2010 12:51 UTC Le probleme principal etant lors d'un aller-retour, des loch (et donc des moyennes) fantaisistes.

pzia commented 9 years ago

Commented by spf on 9 Oct 2010 13:20 UTC (In [1987]) first stab at loch correction (See #453)

pzia commented 9 years ago

Commented by spf on 9 Oct 2010 13:23 UTC (In [1988]) step2 of loch fixing (See #453)

pzia commented 9 years ago

Commented by spf on 9 Oct 2010 13:32 UTC (In [1989]) typo.. (See #453)

pzia commented 9 years ago

Commented by spf on 9 Oct 2010 13:38 UTC (In [1990]) and another one :) (See #453)

pzia commented 9 years ago

Commented by paparazzia on 9 Oct 2010 18:09 UTC Vu que tu mets une clef time dans ta nouvelle table loch, je ne comprends pas trop pourquoi tu n'utilises pas directement la table position ???

pzia commented 9 years ago

Commented by spf on 9 Oct 2010 19:03 UTC (In [1992]) More tuning for LOCH (See #453)

pzia commented 9 years ago

Commented by spf on 10 Oct 2010 09:50 UTC (In [1994]) clamp to lower minute to use an select on a key instead of a comparison+sort (See #453)