added some printfs for SO

This commit is contained in:
Daniel Knüttel 2019-07-12 20:04:40 +02:00
parent dae8093bca
commit d3a227ac19

View File

@ -38,6 +38,8 @@ interaction_ufunc_force
npy_intp i;
printf("DATA IS: %x\n", data);
printf("DATA[0] IS: %x\n", data[0]);
float * coefficients = (float *) data[0];
for(i = 0; i < n; i++)
@ -227,7 +229,8 @@ interaction_UFuncWrapper_init
}
}
Py_INCREF(self->ufunc);
printf("%x\n", self->coefficients);
printf("PASSED = %x\n", &(self->coefficients));
printf("PASSED[0] = %x\n", self->coefficients);
return 0;
}