solstice

Compute collected power and efficiencies of a solar plant
git clone git://git.meso-star.com/solstice.git
Log | Files | Refs | README | LICENSE

commit e26a89caec324ad23a0867d519285dd2cfcbf924
parent 4a95c2d3ea18a6f522b3ee22e7ca0a6dad791bcd
Author: Christophe Coustet <christophe.coustet@meso-star.com>
Date:   Mon,  9 Jan 2017 14:56:58 +0100

BugFix : create child link between the 2 nodes of a pivot

Diffstat:
Msrc/solstice_entity.c | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/solstice_entity.c b/src/solstice_entity.c @@ -161,6 +161,9 @@ setup_entity_pivot res = darray_nodes_push_back(&solstice->pivots, &pivot_node); if(res != RES_OK) goto error; + res = score_node_add_child(entity_node, pivot_node); + if (res != RES_OK) goto error; + exit: *atchmnt_node = pivot_node; return entity_node;