mgwr
mgwr copied to clipboard
Undefined local variable used in search.py: golden_section (Line 46, 47)
Hi Developers,
please check the error exist in search.py in line 46 and 47.
Do we need to add n as a parameter in function golden_section or we will remove n in the function?
@xyluo25 Instead of posting screenshots of code, you can include the permalink to the exact location by clicking next to the line number for a pop-up dialogue box like so:
Then you can easily embed the permalink here with markdown syntax like: [some text](url). For example: "The relevant lines in the golden_section() function are here". Or you can simply paste the permalink in here and get a nice rendering of the code with a functional hyperlink:
https://github.com/pysal/mgwr/blob/423726a3a949147fd5416bef0fec33021a51cbf3/mgwr/search.py#L46-L47
Hello @jGaboardi, thank you for sharing this information. I've learned so much from you. I plan to implement it later.