static double * get_metric(const double *M) { double *G, *M_T; G = NULL; M_T = NULL; if ((M_T = get_transpose(M)) == NULL) {return NULL;} if ((G = multiply_matrices(M_T, M)) == NULL) {return NULL;} free(M_T); M_T = NULL; return G; }
static void handle_space() { switch (CUR_COL_CHAIN) { case PHRASE_COL: handle_phrase_space(); break; case TRANSPOSE_COL: { U8 tsp = get_transpose(); if (!tsp) set_transpose(last_input_transpose[EDIT_CH]); else last_input_transpose[EDIT_CH] = tsp; } } }