Skip to content

AttributeError: type object 'Matrix' has no attribute '_element_wise_binary' #22

Description

@cubr3

In hack.py, the statement _old_element_wise_binary = ti.Matrix._element_wise_binary generates directly an AttributeError.

steps to reproduce (python3.11) :

  1. pip install taichi taichi_glsl

in a file example.py:
2) import taichi_glsl as ts

this statement will do from .hack import * that generates the error:

AttributeError: type object 'Matrix' has no attribute '_element_wise_binary'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions