projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add a processing module that reads events from a text file
[lttv.git]
/
lttv
/
lttv
/
sync
/
event_analysis_chull.c
diff --git
a/lttv/lttv/sync/event_analysis_chull.c
b/lttv/lttv/sync/event_analysis_chull.c
index b89f89ca01c643a267f88d2f2f2e0ccc86e92419..e77eabd221048738aafb84f3dc0ee71a5c7bfb87 100644
(file)
--- a/
lttv/lttv/sync/event_analysis_chull.c
+++ b/
lttv/lttv/sync/event_analysis_chull.c
@@
-26,6
+26,7
@@
#include <float.h>
#include <stdlib.h>
#include <stdio.h>
#include <float.h>
#include <stdlib.h>
#include <stdio.h>
+#include <string.h>
#include <unistd.h>
#include "sync_chain.h"
#include <unistd.h>
#include "sync_chain.h"
@@
-926,7
+927,7
@@
void calculateFactorsMiddle(FactorsCHull* const factors)
bmin= factors->min->drift;
bmax= factors->max->drift;
bmin= factors->min->drift;
bmax= factors->max->drift;
- g_assert_cmpfloat(bmax, >, bmin);
+ g_assert_cmpfloat(bmax, >
=
, bmin);
factors->approx= malloc(sizeof(Factors));
bhat= (bmax * bmin - 1. + sqrt(1. + pow(bmax, 2.) * pow(bmin, 2.) +
factors->approx= malloc(sizeof(Factors));
bhat= (bmax * bmin - 1. + sqrt(1. + pow(bmax, 2.) * pow(bmin, 2.) +
This page took
0.027635 seconds
and
4
git commands to generate.