X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fsn-batcher.c;h=13f6d8e6b37a61f8b8ef0ebd1fcd80c7bdb1af2e;hb=4e07bb85854a395d92d93eabc29089d02cb2a5a0;hp=93e6ce1db1c85e273bc3841e6a05494bc25981bb;hpb=f35c47cabbc75b05286e335dc92206b3afb08825;p=sort-networks.git diff --git a/src/sn-batcher.c b/src/sn-batcher.c index 93e6ce1..13f6d8e 100644 --- a/src/sn-batcher.c +++ b/src/sn-batcher.c @@ -1,5 +1,5 @@ /** - * collectd - src/sn-batcher.c + * libsortnetwork - src/sn-batcher.c * Copyright (C) 2008-2010 Florian octo Forster * * This program is free software; you can redistribute it and/or modify it @@ -75,11 +75,11 @@ static sn_network_t *create_batcher_sort (size_t inputs_num) if (n_small == NULL) return (NULL); - n = sn_network_combine_bitonic (n_small, n_small); + n = sn_network_combine_bitonic_merge (n_small, n_small); if (n == NULL) { sn_network_destroy (n_small); - fprintf (stderr, "create_batcher_sort: sn_network_combine_bitonic " + fprintf (stderr, "create_batcher_sort: sn_network_combine_bitonic_merge " "failed.\n"); return (NULL); }