Fix for #7135 (error with named argument "width")#7136
Fix for #7135 (error with named argument "width")#7136ssheorey merged 2 commits intoisl-org:mainfrom
Conversation
* Add the missing comma before the first argument's name * Add the missing spaces in the function description
|
Thanks for submitting this pull request! The maintainers of this repository would appreciate if you could update the CHANGELOG.md based on your changes. |
I'd happily update the CHANGELOG.md file, but I don't think it's being maintained... so I wouldn't know where to add the change description, nor what good it would do... |
|
Good catch and fix. :) The last three lines in the docs are also corrupted: If it is no problem, can you check if your fix also resolves this? |
ssheorey
left a comment
There was a problem hiding this comment.
Thanks @joseph-sch ! Looks good.
Regarding the mangled documentation, apparently it's a sphinx parsing issue caused by the string in the default argument (i.e. by encountering quotes in the default argument expression The issue does not appear when a custom docstring is specified, so that could be a workaround. Indeed, compare the following two ( In the second case, the word "Optional" and the default value are not present alongside each argument, but the According to ChatGPT, another solution would be to "Create a static default static const core::Device default_device("CPU:0");and use that instead of the expression There could also be a configuration of sphinx that avoids the issue, and that would be ideal. I'm afraid I didn't manage to build the C++ code yet (I tried only on WSL so far) and I don't manage to rebuild the sphinx documentation after modifying the sources, so I can't check by myself yet. I suggest opening a separate issue and a separate PR. |
Thank you! I've now applied the style check and pushed the change. Do I need to do anything else? |
|
Interesting. |
OK, I've opened #7147 for the separate issue of the corrupted documentation. |



Type
create_boxin tensor API #7135Motivation and Context
Checklist:
python util/check_style.py --applyto apply Open3D code styleto my code.
updated accordingly.
results (e.g. screenshots or numbers) here.
Description