Fix PMT::Create
Remove the PMT::Create
with no arguments and change logic to have less duplicated code. This fixes a bug where the Python interface wouldn't work and also make the PMT
binary code simpler.
While fixing the above, a new bug occurred: NVML
could be destroyed while it was still trying to do a new measurement, resulting in a segmentation fault. A guard against this issue is added.
Edited by Bram Veenboer