Comments (4)
Hi,
Yes, this applies to all binary arithmetic methods. As pointed out by @jacklovell in #373, there is a directive c_api_binop_methods=True
that allows the old implementation to continue working. I was going to fix Raysect incompatibility with Cython 3.0, but haven't found the time yet. I will try to look in the near future, because this also affects Cherab.
from source.
I am also trying to fix all binary arithmetic methods at least and going to push the PR, so please consider it if you are welcome.
Thank you very much! The fix you proposed is fine with me. Let's wait for a response from @CnlPepper.
from source.
when checking the docs (https://cython.readthedocs.io/en/latest/src/userguide/special_methods.html),
I noticed that parameters of __mul__
method had been changed. (__mul__(x, y)
-> __mul__(self, other)
)
This seems to cause the issue.
And we should implement __rmul__()
reverse method.
from source.
Thank you for your prompt reply.
I could not noticed that issue.
I am also trying to fix all binary arithmetic methods at least and going to push the PR, so please consider it if you are welcome.
from source.
Related Issues (20)
- Allow Ray.extinction_min_depth to be equal to 1 HOT 2
- The 'quiet' argument passed to Observer1D and Observer2D at initialisation is ignored. HOT 1
- Proposal: material library update HOT 2
- SpectralPowerPipeline2D cannot be unpickled HOT 2
- Non-uniform step, absorption & scattering: inhomogeneous.pxd HOT 1
- Non-uniform step, absorption & scattering: inhomogeneous.pyx HOT 1
- Proposal: adaptive integration HOT 2
- Proposal: inhomogeneous absorption HOT 2
- Proposal: volumetric scattering HOT 1
- Update demos to support latest changes in Raysect and Matplotlib HOT 1
- Support parallel builds when installing with pip? HOT 4
- Publish manylinux wheel for Python 3.10 HOT 1
- Cython 3.0 compile error
- conda installation failure HOT 11
- "Custom volume emitters" example broken HOT 2
- Missing inheriting arguments of observer base class HOT 9
- Help: Modelling diffuse reflectance from a known emitter and capture with camera
- Can't install raysect on mac HOT 1
- Limit numpy version to < 2 in install_requires and make another post release
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from source.