Commit graph

1398 commits

Author SHA1 Message Date
Zoltán Vörös
68fa115c4b
Merge pull request #444 from t-ikegami/fix_compare
Fix compare between (uint16|int16) vs float.
2021-11-07 12:51:29 +01:00
Tsutomu IKEGAMI
4d2a11ed00 Up version to 3.3.5. 2021-11-07 20:49:16 +09:00
Tsutomu IKEGAMI
14b39d5dbd Fix compare between (uint16|int16) vs float. 2021-11-05 12:09:18 +09:00
Zoltán Vörös
a2455ca7ce
Merge pull request #442 from mdaeron/master
Update esp32-cmake.sh
2021-10-20 06:57:43 +02:00
mdaeron
3254b0e3d8
Update esp32-cmake.sh
Fix esp32-cmake compile script
2021-10-20 01:17:57 +02:00
Jeff Epler
8a73015345
Merge pull request #440 from jepler/build-micropython-ubuntu-latest
use ubuntu-latest for building micropython
2021-10-16 16:10:03 -05:00
Jeff Epler
d68171bb46
Merge pull request #439 from jepler/circuitpython-make-new-compat
ndarray: drop compat workaround for circuitpython
2021-10-16 16:02:16 -05:00
d1d825b11d use ubuntu-latest for building micropython
This is what micropython uses now.
2021-10-16 15:59:09 -05:00
b913d064e5 ndarray: drop compat workaround for circuitpython
It's anticipated that circuitpython will no longer need this compat code
after merging 1.17.
2021-10-14 14:26:38 -05:00
Zoltán Vörös
1d9670096f
Merge pull request #434 from v923z/qr-docs
add docs for linalg.qr
2021-08-07 07:24:31 +02:00
Zoltán Vörös
04629f5521 add docs for linalg.qr 2021-08-07 07:21:55 +02:00
Jeff Epler
548aaba97d
Merge pull request #433 from jepler/remove-compat-alias
remove temporary workaround
2021-08-03 14:37:34 -05:00
Jeff Epler
73ce3bf590
Merge pull request #432 from jepler/build-all-dims2
Build & test for 1, 2, 3, and 4 dims
2021-07-23 14:21:18 -05:00
7dec159981 show where to find ulab.numpy.ndarray
.. interestingly, this error only showed up on macos, not ubuntu!
2021-07-23 10:26:06 -05:00
0b62231d56 show where to find ulab.numpy.ndarray
.. interestingly, this error only showed up on macos, not ubuntu!
2021-07-23 10:12:15 -05:00
5ff8bd662f remove temporary workaround 2021-07-23 09:57:17 -05:00
Jeff Epler
04eecad5b2
Merge pull request #431 from v923z/fix-1d
fix compilation for 1D
2021-07-23 09:40:20 -05:00
f64d2760d6 Update macOS version
During CI, the following diagnostic is shown:
> The macOS virtual environment has been updated to Catalina (v10.15). Please
> update your workflow and change the line 'runs-on: macOS-10.14' to 'runs-on:
> macOS-latest'

The advice seems dubious, since it will then automatically update to some other
macos version without warning, but follow it anyway.
2021-07-23 09:27:23 -05:00
ecf579ecb3 build 1d for CI 2021-07-23 09:21:20 -05:00
69011c8696 Re-organize tests 2021-07-23 09:19:10 -05:00
8b3b4d1829 Merge commit 'refs/pull/431/head' of https://github.com/v923z/micropython-ulab into build-all-dimensions 2021-07-23 09:05:25 -05:00
Zoltán Vörös
ba0cd7c661 re-set the value of ULAB_MAX 2021-07-23 08:29:37 +02:00
Zoltán Vörös
3817d7698a fix compilation for 1D 2021-07-23 07:28:17 +02:00
b6abde70bc workflows: Build with 2, 3, and 4 dimensions
1d doesn't seem to work at the moment:
```
/home/jepler/src/ulab/code/numpy/numerical.c:324:100: error: macro "RUN_MEAN_STD1" passed 7 arguments, but takes just 6
  324 | p_float_t, array, farray, _shape_strides, MICROPY_FLOAT_CONST(0.0), 0);
      |                                                                      ^
```
2021-07-22 14:15:37 -05:00
68eb0a623a circuitpython build: Build & test in a selected number of dimensions 2021-07-22 14:14:15 -05:00
81d78fe23f micropython build: Build & test in a selected number of dimensions 2021-07-22 14:14:08 -05:00
Zoltán Vörös
e26a6a9272
Merge pull request #425 from v923z/samd-fix
fix compile error on SAMD devices
2021-07-22 20:28:50 +02:00
Zoltán Vörös
91e08c8679
Merge branch 'master' into samd-fix 2021-07-22 20:28:34 +02:00
Zoltán Vörös
8d93ddeaf3
Merge pull request #428 from v923z/fix-4d
fix sum for 4D arrays
2021-07-22 20:11:05 +02:00
Zoltán Vörös
593a33df5d
Merge branch 'master' into fix-4d 2021-07-22 20:09:59 +02:00
Zoltán Vörös
d8a4dbbc48
Merge pull request #427 from v923z/qr2
add qr implementation
2021-07-22 20:08:30 +02:00
Zoltán Vörös
18bb09da45 fix sum for 4D arrays 2021-07-22 20:08:09 +02:00
Zoltán Vörös
d18a37929e update change log 2021-07-22 19:57:36 +02:00
Zoltán Vörös
a3ce0ce29a add qr implementation 2021-07-22 19:40:57 +02:00
Jeff Epler
90cb0959b9
Merge pull request #426 from adafruit/circuitpython-doc-move
Circuitpython doc move
2021-07-22 08:46:33 -05:00
Jeff Epler
8ef203f21b Only use the _float alias for the float built-in type in ulab.numpy proper
Otherwise, an error occurred, but only on the macos build(!)
```
ulab/scipy/optimize/__init__.pyi:7: error: Name "_float" is not defined
```
It's not clear why `_float` was apparently defined on Linux in this
context.
2021-07-22 08:37:12 -05:00
Jeff Epler
0cdea5ebac bump ubuntu version to the same as circuitpython uses 2021-07-22 08:22:39 -05:00
Jeff Epler
f3d0639ee6 Fix python version in a message to match what is installed 2021-07-22 08:19:36 -05:00
Jeff Epler
cbe4c7499b docs: A workaround for the problem where ndarray can't be in two places
This allows the build to be green in ulab before the changes in
circuitpython. After circuitpython's _typing/__init__.py is fixed to
use the new canonical location, this temporary alias can be removed.
2021-07-22 08:15:23 -05:00
Jeff Epler
7032a92339 Fix documentation build
* Move most documentation out of the ulab base module.
 * float -> _float
 * ulab.ndarray -> ulab.numpy.ndarray

This still does not build unless it is taken together with a modification
to CircuitPython that _also_ moves references to ulab.numpy.
Because of this, this PR will continue to show red.  The suitability of
the changes can be gaged by looking at the related CircuitPython PR build
or by running locally the build-cp.sh script with the right ref checked
out in circuitpython/
2021-07-20 17:26:43 -05:00
Zoltán Vörös
70e8b548ba fix compile error on SAMD devices 2021-07-16 10:03:34 +02:00
Zoltán Vörös
96550c8ed4 re-arrange files, so that circuitpython docs can be generated 2021-07-14 23:15:19 +02:00
Zoltán Vörös
85f9926423
Merge pull request #422 from v923z/flatiter
Flatiter
2021-07-14 16:42:10 +02:00
69d3c20c7b fix build on circuitpython 2021-07-14 08:42:51 -05:00
Zoltán Vörös
c152871dba insert circuitpython hooks for flatiter 2021-07-13 22:38:01 +02:00
Zoltán Vörös
7690c7a166 Merge branch 'flatiter' of github.com:v923z/micropython-ulab into flatiter 2021-07-13 21:37:42 +02:00
Zoltán Vörös
af34d8fe2a fix assertion 2021-07-13 21:35:01 +02:00
Zoltán Vörös
8c5a14d166 add flat iterator to documentation 2021-07-13 21:35:01 +02:00
Zoltán Vörös
6ed12969d3 implement flat iterator 2021-07-13 21:35:01 +02:00
Zoltán Vörös
7954a266eb fix assertion 2021-07-13 18:30:38 +02:00