Skip to content
Snippets Groups Projects
Commit 298f85dc authored by Danny Auble's avatar Danny Auble
Browse files

BGQ - simplify code

parent cf4f7b57
No related branches found
No related tags found
No related merge requests found
...@@ -536,16 +536,9 @@ extern int check_and_set_mp_list(List mps) ...@@ -536,16 +536,9 @@ extern int check_and_set_mp_list(List mps)
itr = list_iterator_create(mps); itr = list_iterator_create(mps);
while ((ba_mp = list_next(itr))) { while ((ba_mp = list_next(itr))) {
/* info("checking %c%c%c", */ /* info("checking %s", ba_mp->coord_str); */
/* ba_mp->coord[X], */
/* ba_mp->coord[Y], */ curr_ba_mp = coord2ba_mp(ba_mp->coord);
/* ba_mp->coord[Z]); */
curr_ba_mp = &ba_main_grid
[ba_mp->coord[A]]
[ba_mp->coord[X]]
[ba_mp->coord[Y]]
[ba_mp->coord[Z]];
if (ba_mp->used && curr_ba_mp->used) { if (ba_mp->used && curr_ba_mp->used) {
/* Only error if the midplane isn't already /* Only error if the midplane isn't already
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment