GithubHelp home page GithubHelp logo

dasslcy's Introduction

Hi there ๐Ÿ‘‹

dasslcy's People

Contributors

caiofcm avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.