@karlnapf umm.. no. I think I should just put a warning here (and for the set_p_and_q) and return NULL (or do nothing for the other) instead of error. I just copied it from LinearTimeMMD :D