From 0de1c3e14e6b3d3b9e7276707e13a662c23b9111 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Kn=C3=BCttel?= Date: Mon, 8 Jul 2019 16:05:04 +0200 Subject: [PATCH] fixed wrong argument order in force_ufunc --- c/interaction/interaction.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/c/interaction/interaction.c b/c/interaction/interaction.c index d0d6268..54c55bb 100644 --- a/c/interaction/interaction.c +++ b/c/interaction/interaction.c @@ -30,12 +30,12 @@ interaction_ufunc_force , void * data) { char * in = args[0] - , * out = args[1] - , * raw_coefficients = args[2]; + , * raw_coefficients = args[1] + , * out = args[2]; npy_intp n = dimensions[0]; npy_intp in_step = steps[0] - , out_step = steps[1] - , raw_coefficients_steps = steps[2]; + , raw_coefficients_steps = steps[1] + , out_step = steps[2]; npy_intp i;