OSDN Git Service
(root)
/
tjqt4port
/
tj2qt4.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Attempt to contain rounding errors.
[tjqt4port/tj2qt4.git]
/
taskjuggler
/
Project.h
diff --git
a/taskjuggler/Project.h
b/taskjuggler/Project.h
index
45ff769
..
00eba5b
100644
(file)
--- a/
taskjuggler/Project.h
+++ b/
taskjuggler/Project.h
@@
-756,6
+756,11
@@
public:
double convertToDailyLoad(long secs) const;
/**
+ * Adjust load for rounding errors.
+ */
+ double quantizeLoad(double load) const;
+
+ /**
* Converts load values (effort) to time slots.
*/
long int convertToSlots(double effort) const;