From fc9c3b8496b07fa01bcc4312dbc1dd1db342ebb8 Mon Sep 17 00:00:00 2001 From: chafiol <antonin.chafiol@gmail.com> Date: Fri, 27 Mar 2020 15:42:56 +0100 Subject: [PATCH] UPDATE: triinsertion --- src/Tris/triInsertion.c | 3 +-- src/Tris/triInsertion.h | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/Tris/triInsertion.c b/src/Tris/triInsertion.c index 0879c25..8040da9 100644 --- a/src/Tris/triInsertion.c +++ b/src/Tris/triInsertion.c @@ -1,6 +1,6 @@ #include "triInsertion.h" -size_t triInsertion(long* A, size_t n){ +void triInsertion(long* A, size_t n){ long cle = 0; size_t i =0; for(i = 1; i<n; i++){ @@ -12,7 +12,6 @@ size_t triInsertion(long* A, size_t n){ } A[j+1] = cle; } - return i; } diff --git a/src/Tris/triInsertion.h b/src/Tris/triInsertion.h index 31816ad..77fa91f 100644 --- a/src/Tris/triInsertion.h +++ b/src/Tris/triInsertion.h @@ -13,7 +13,7 @@ #include "../Lib/utils.h" -size_t triInsertion(long* A, size_t n); +void triInsertion(long* A, size_t n); void triInsertionVerbose(long* A, size_t n, struct data* d); -- GitLab