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

import struct #14

Closed
pharringtonp19 opened this issue Aug 10, 2022 · 1 comment
Closed

import struct #14

pharringtonp19 opened this issue Aug 10, 2022 · 1 comment

Comments

@pharringtonp19
Copy link

How should I go about importing struct? Thanks!

My attempt below fails --

import tree_math

@tree_math.struct
class Point: 
    x: float 
    y: float 

AttributeError: module 'tree_math' has no attribute 'struct'

@shoyer
Copy link
Member

shoyer commented May 18, 2023

This requires using the new 0.2.0 release (or the development version from GitHub).

@shoyer shoyer closed this as completed May 18, 2023
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