Commit 8a39fb83 authored by Volker Springel's avatar Volker Springel
Browse files

removed unused variable

parent 83a5629f
...@@ -289,8 +289,6 @@ void fof<partset>::subfind_hbt_single_group(domain<partset> *SubDomain, domain<p ...@@ -289,8 +289,6 @@ void fof<partset>::subfind_hbt_single_group(domain<partset> *SubDomain, domain<p
/* sort the candidates by size */ /* sort the candidates by size */
mycxxsort(all_candidates, all_candidates + totcand, subfind_hbt_compare_subcand_len); mycxxsort(all_candidates, all_candidates + totcand, subfind_hbt_compare_subcand_len);
hbt_subcand_t maxlen_candidate = all_candidates[totcand - 1];
/* sort the candidates by summed previous length, as this is arguably a more robust decision of which one should be the largest /* sort the candidates by summed previous length, as this is arguably a more robust decision of which one should be the largest
*/ */
mycxxsort(all_candidates, all_candidates + totcand, subfind_hbt_compare_subcand_summedprevlen); mycxxsort(all_candidates, all_candidates + totcand, subfind_hbt_compare_subcand_summedprevlen);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment