mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 14:25:27 +00:00
backend: correct deco2() problem in plannerShared
Divided by 1000 (int) instead of 1000.0 (float) which caused precision problems. Signed-off-by: Jan Iversen <jan@casacondor.com>
This commit is contained in:
parent
a85b0896b4
commit
694fcffa6e
1 changed files with 1 additions and 1 deletions
|
@ -236,7 +236,7 @@ void plannerShared::set_bottompo2(double value)
|
|||
|
||||
double plannerShared::decopo2()
|
||||
{
|
||||
return qPrefDivePlanner::decopo2() / 1000;
|
||||
return qPrefDivePlanner::decopo2() / 1000.0;
|
||||
}
|
||||
void plannerShared::set_decopo2(double value)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue