Skip to content

Commit

Permalink
Turn off clang-format around some lines
Browse files Browse the repository at this point in the history
  • Loading branch information
szhan committed Oct 6, 2023
1 parent 8444d8c commit 8442799
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion python/_tskitmodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -13254,10 +13254,13 @@ LsHmm_forward_matrix(LsHmm *self, PyObject *args)
PyExc_ValueError, "haplotype array must have dimension (num_sites,)");
goto out;
}
// clang-format off
Py_BEGIN_ALLOW_THREADS err
= tsk_ls_hmm_forward(self->ls_hmm, PyArray_DATA(haplotype_array),
compressed_matrix->compressed_matrix, TSK_NO_INIT);
Py_END_ALLOW_THREADS if (err != 0)
Py_END_ALLOW_THREADS
// clang-format on
if (err != 0)
{
handle_library_error(err);
goto out;
Expand Down

0 comments on commit 8442799

Please sign in to comment.