PhysiCell icon indicating copy to clipboard operation
PhysiCell copied to clipboard

Fix bug in reading in rules.

Open drbergman opened this issue 2 years ago • 3 comments

Just needed to initialize the pointers in a better way for them to be passed across functions and objects. I won't pretend to understand why this works, only that it does work.

drbergman avatar Jan 08 '24 05:01 drbergman

This is responsive to Issue #206

drbergman avatar Jan 08 '24 05:01 drbergman

And in case there was any concern, I did look at all members of Hypothesis_Rule that are set in the Default Constructor and confirmed that *pHR has those values. OK, technically, I didn't check for the std::vector<bool> or std::vector<std::string> ones since they don't have a built-in way to interface with <<.

drbergman avatar Jan 08 '24 05:01 drbergman

I have checked that with the second commit "Fixing the fix..." that the rules do in fact work, they are displayed as expected in standard output, and that it works on rules files that break PhysiCell currently.

drbergman avatar Jan 08 '24 07:01 drbergman