]> git.treefish.org Git - phys/latlib.git/blobdiff - progress.cpp
...
[phys/latlib.git] / progress.cpp
index 31d4859fad7ad9b628e67401b1862058e05a4c36..57d1bc36475f54bfe6ea4e1bd746f0ba63e09de7 100644 (file)
@@ -16,3 +16,8 @@ bool progress::madeStep(int realStep)
   else
     return false;
 }
+
+double progress::done()
+{
+  return (double)laststep/progsteps;
+}