Fix typo in the cython mixing code
@@ -25,7 +25,7 @@ cpdef long _mix_replicas_cython(long nswap_attempts, long nstates, long[:] repli
tmp_state = replica_states[i]
replica_states[i] = replica_states[j]
replica_states[j] = tmp_state
- Nij_accepted[i,j] += 1
- Nij_accepted[j,i] += 1
+ Nij_accepted[istate,jstate] += 1
+ Nij_accepted[jstate,istate] += 1
return 0
