summate.c: add_basic_guarded_qp: rename "dim" variable to "space"