Skip to content

Commit

Permalink
Extract variable
Browse files Browse the repository at this point in the history
  • Loading branch information
krlmlr committed Mar 6, 2025
1 parent dd6f24f commit e367ee3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/rinterface_extra.c
Original file line number Diff line number Diff line change
Expand Up @@ -8657,7 +8657,8 @@ SEXP R_igraph_add_env(SEXP graph) {
SET_CLASS(result, Rf_duplicate(GET_CLASS(graph)));
}

SET_VECTOR_ELT(result, igraph_t_idx_env, Rf_allocSExp(ENVSXP));
SEXP env = Rf_allocSExp(ENVSXP);
SET_VECTOR_ELT(result, igraph_t_idx_env, env);

uuid_generate(my_id);
uuid_unparse_lower(my_id, my_id_chr);
Expand Down

0 comments on commit e367ee3

Please sign in to comment.