Could you help me interpret what happened?
1 view (last 30 days)
Show older comments
Greetings,
I am debugging others' codes. In Polyhedron.m file row 521, it is a sentence:
if isempty(obj.He_int), obj.He_int = zeros(0,d+1); end
I found before this sentence was executed, obj.V was not defined as:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/459905/image.jpeg)
But after this sentence was executed, obj.V was calculated and got a matrix:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/459910/image.jpeg)
As you see, the sentence did not call obj.V directly but it did change obj.V. Could you explain to me what happened here? And how can I find the codes that changed obj.V. I think that is the bug I am looking for.
Related source codes are attached.
Thank you!
0 Comments
More Answers (0)
See Also
Categories
Find more on Get Started with MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!