From 7d62fc765adc11bbcb7db0716ac5dc19145dca80 Mon Sep 17 00:00:00 2001 From: Samo Penic <samo.penic@gmail.com> Date: Sun, 15 Jun 2014 10:58:40 +0000 Subject: [PATCH] To be sure a fix in comparing the floating point numbers --- src/bond.h | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/bond.h b/src/bond.h index 4022a6c..34cdba5 100644 --- a/src/bond.h +++ b/src/bond.h @@ -5,7 +5,7 @@ /** Initialize bond list with zero values * @param *blist is a pointer to a ts_bond_list structure */ -ts_bool init_bond_list(ts_bond_list *blist); +ts_bond_list *init_bond_list(); /** @brief Adds bond in the bond list * @@ -18,9 +18,10 @@ * this is considered as fatal error and execution stops, returning error code to the operating * system. */ -ts_bool bond_add(ts_bond_list *blist, ts_vertex *vtx1, ts_vertex *vtx2); +ts_bond *bond_add(ts_bond_list *blist, ts_vertex *vtx1, ts_vertex *vtx2); - +ts_bool bond_vector(ts_bond *bond); +ts_bool bond_list_free(ts_bond_list *blist); -- Gitblit v1.9.3