Comments (1)
Sorry I've been neglecting this for so long! I've decided to start trying to take a look at this project again to see if there's any room to improve it using Go generics, and I figured I'd knock out an "easy" issue to help get back up to speed with things. Thanks so much for leaving this!
I was hoping I'd eventually get some other contributors to take on some of these fixes but I might need to do more work in terms of setting up contribution guidelines and cleaning up the codebase before that happens...
Anyway, my fix for this was I added some code to coerce any non-literal argument to a math.X function that wasn't already a float64 to float64.
from pytago.
Related Issues (19)
- macOS Big Sur HOT 7
- Converting to bytes
- Optional type annotations HOT 2
- python unpack convert error HOT 2
- map(int,["1","2"]) convert wrong
- decorator convert wrong
- Use problem. help
- to-do/feature request: snake case -> camel case HOT 1
- Can't convert anything
- how to reslove python import ?
- pytago local cli run error HOT 3
- incompatible with Python 3.11 (?) HOT 1
- looping over lines of a file object does not translate correctly HOT 11
- Python `__str__` method doesn't translate to go `String()` method HOT 3
- `time` module does not translate well! HOT 6
- `type()` function doesn't translate well! HOT 4
- Code doesn't translate HOT 2
- Lists of inconsistent types
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 pytago.