Commit eb4d5864 authored by Stan Moore's avatar Stan Moore
Browse files

Remove duplicate if test in fix_qeq_reax_kokkos

parent 9f058f19
Loading
Loading
Loading
Loading
+4 −8
Original line number Diff line number Diff line
@@ -495,7 +495,6 @@ void FixQEqReaxKokkos<DeviceType>::cg_solve1()
      FixQEqReaxKokkosSparse13Functor<DeviceType,HALFTHREAD> sparse13_functor(this);
      Kokkos::parallel_for(inum,sparse13_functor);
    }
    if (need_dup)
    if (need_dup)
      Kokkos::Experimental::contribute(d_o, dup_o);
  } else {
@@ -555,7 +554,6 @@ void FixQEqReaxKokkos<DeviceType>::cg_solve1()
        Kokkos::parallel_for(inum,sparse23_functor);
      }
      if (need_dup)
          if (need_dup)
        Kokkos::Experimental::contribute(d_o, dup_o);
    } else {
      Kokkos::parallel_for(Kokkos::TeamPolicy <DeviceType, TagSparseMatvec2> (inum, teamsize), *this);
@@ -634,7 +632,6 @@ void FixQEqReaxKokkos<DeviceType>::cg_solve2()
      FixQEqReaxKokkosSparse33Functor<DeviceType,HALFTHREAD> sparse33_functor(this);
      Kokkos::parallel_for(inum,sparse33_functor);
    }
    if (need_dup)
    if (need_dup)
      Kokkos::Experimental::contribute(d_o, dup_o);
  } else {
@@ -694,7 +691,6 @@ void FixQEqReaxKokkos<DeviceType>::cg_solve2()
        Kokkos::parallel_for(inum,sparse23_functor);
      }
      if (need_dup)
          if (need_dup)
        Kokkos::Experimental::contribute(d_o, dup_o);
    } else {
      Kokkos::parallel_for(Kokkos::TeamPolicy <DeviceType, TagSparseMatvec2> (inum, teamsize), *this);