Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: build() takes 1 positional argument but 2 were given #1

Closed
aaronmack opened this issue Aug 18, 2021 · 1 comment
Closed

Comments

@aaronmack
Copy link

python main.py

[Taichi] mode=release
[Taichi] version 0.7.29, llvm 10.0.0, commit 7b40a962, win, python 3.7.7
[TaiGLSL] version 0.0.11
[Taichi] Starting on arch=cuda
Traceback (most recent call last):
  File "main.py", line 78, in <module>
    world.commit()
  File "C:\DEV_PROJECT\dev-repository\ray-tracing-one-weekend-taichi\hittable.py", line 83, in commit
    self.bvh.build(self.spheres)
TypeError: build() takes 1 positional argument but 2 were given
@bsavery
Copy link
Owner

bsavery commented Aug 18, 2021

Fixed with 0111c3d

@bsavery bsavery closed this as completed Aug 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants