def _d_W_d_logW(self, k):
        return np.diag(self.weights[k,:])
The iterset of the parloop should match the dataset of the direct dat.
dataset/ETHPy150Open slinderman/pyhawkes/pyhawkes/models.py/DiscreteTimeStandardHawkesModel._d_W_d_logW--crossover with--dataset/ETHPy150Open OP2/PyOP2/test/unit/test_direct_loop.py/TestDirectLoop.test_mismatch_set_raises_error