X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fsn-merge.c;h=77c242913e62712a8db0ef98b74b25cc3d2b3a7f;hb=0903dca08666d87ccf125408fac1be7764be83ad;hp=f9d0440dae3a9a61a192a598cda8ee3fb706d849;hpb=8198f1082a7efb5809238a8ed8580d3abe41b4fe;p=sort-networks.git diff --git a/src/sn-merge.c b/src/sn-merge.c index f9d0440..77c2429 100644 --- a/src/sn-merge.c +++ b/src/sn-merge.c @@ -123,16 +123,6 @@ int main (int argc, char **argv) exit (EXIT_FAILURE); } - if (use_bitonic - && ((SN_NETWORK_INPUT_NUM (n0) != SN_NETWORK_INPUT_NUM (n1)) - || !is_power_of_two (SN_NETWORK_INPUT_NUM (n0)))) - { - fprintf (stderr, "Using the bitonic merge is currently only possible " - "if the number of inputs of both networks is identical and a " - "power of two\n"); - exit (EXIT_FAILURE); - } - if (use_bitonic) n = sn_network_combine_bitonic_merge (n0, n1); else