dasslcy's Introduction
dasslcy's People
dasslcy's Issues
wont build on colab
error 1
"cannot find the PXD file"
dasslcy/dasslc.pyx:9:8: 'dasslc_def.pxd' not found
fix 1
"edit relative import"
change
cimport dasslc_def
to
cimport dasslcy.dasslc_def as dasslc_def
error 2
"Exception values are incompatible"
dasslc.pyx:112:40:
#Cannot assign type 'BOOL (PTR_ROOT *, REAL, REAL *, REAL *, REAL *, BOOL *) except? -1'
#to 'DASSLC_RES' (alias of 'BOOL (*)(PTR_ROOT *, REAL, REAL *, REAL *, REAL *, BOOL *) noexcept').
#Exception values are incompatible. Suggest adding 'noexcept' to the type of 'residuals'.
fix 2
"add noextern to the pyx file declaration"
change
cdef dasslc_def.BOOL residuals(dasslc_def.PTR_ROOT *root,
dasslc_def.REAL t, dasslc_def.REAL *y,
dasslc_def.REAL *yp, dasslc_def.REAL *res,
dasslc_def.BOOL *jac):
to
cdef dasslc_def.BOOL residuals(dasslc_def.PTR_ROOT *root,
dasslc_def.REAL t, dasslc_def.REAL *y,
dasslc_def.REAL *yp, dasslc_def.REAL *res,
dasslc_def.BOOL *jac) noexcept:
error / fix 3
"compiler compatibility issues "
copy dasslc.c
and dasslc.h
from https://github.com/asanet/dasslc2py
where some compiler compatibility issues were recently reviewed
error / fix 4
"legacy install failure"
suggest building without numpy requirements in requirements.txt
pip install .
Suggestion
"add COLAB live example to README"
https://colab.research.google.com/drive/1IxNXwNUTcx1Hm28rYSDUALsdOAuOvQoQ
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.