Skip to content
Snippets Groups Projects
Commit 903b2b83 authored by Lionel GUEZ's avatar Lionel GUEZ
Browse files

Change type of property to `vector<double>`

This allows readability of the property in graphml format. As vector
of double is more specific than python object, I suspect this commit
also makes the code more efficient. See also commit c7f7fd46.
parent 2f60aff3
No related branches found
No related tags found
No related merge requests found
......@@ -110,8 +110,8 @@ t1 = time.perf_counter()
timings.write(f"loading: {t1 - t0:.0f} s\n")
t0 = t1
g.vp['pos_first'] = g.new_vp('object')
g.vp['pos_last'] = g.new_vp('object')
g.vp['pos_first'] = g.new_vp('vector<double>')
g.vp['pos_last'] = g.new_vp('vector<double>')
g.vp['first_av_rad'] = g.new_vp('float')
g.vp['first_av_ros'] = g.new_vp('float')
g.vp['last_av_rad'] = g.new_vp('float')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment