Skip to content

rtkpost_qt: lambda.c : search loop count overflow #795

@hans-mayer

Description

@hans-mayer

When I run rtkpost_qt I get hundreds of errors like this:

/opt/usr/mayer/nuc/RTKLIB/src/lambda.c : search loop count overflow
/opt/usr/mayer/nuc/RTKLIB/src/lambda.c : search loop count overflow
/opt/usr/mayer/nuc/RTKLIB/src/lambda.c : search loop count overflow

I increased LOOPMAX to avoid this error:

diff --git a/src/lambda.c b/src/lambda.c
index ccd7e42..a7457fa 100644
--- a/src/lambda.c
+++ b/src/lambda.c
@@ -18,7 +18,7 @@
 
 /* constants/macros ----------------------------------------------------------*/
 
-#define LOOPMAX     10000           /* maximum count of search loop */
+#define LOOPMAX     500000           /* maximum count of search loop */
 
 #define SGN(x)      ((x)<=0.0?-1.0:1.0)
 #define ROUND(x)    (floor((x)+0.5))

I kindly ask to apply this change to the next update.

Kind regards
Hans

--

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions