added missing initialization of pthread_mutex (#728)

* added missing initialization of pthread_mutex

* fixed cut and past error
This commit is contained in:
Erik Fröjdh
2023-05-05 14:45:56 +02:00
committed by GitHub
parent ea4aaf743f
commit 14ec4cf1da
2 changed files with 2 additions and 0 deletions

View File

@ -51,6 +51,7 @@ class interpolatingDetector : public singlePhotonDetector {
// cout << "**"<< xmin << " " << xmax << " " << ymin << " " << ymax <<
// endl;
fi = new pthread_mutex_t;
pthread_mutex_init(fi, NULL);
};
interpolatingDetector(interpolatingDetector *orig)