circuitpython-ulab/code
Jeff Epler daf4b07ef7 Fix -Wunused-parameter diagnostics
Here we actually get bugs fixed!  At many sites, mp_parse_arg_all's
first argument was the number of positional arguments required, rather
than the number actually supplied.

This fixes e.g., the bug where the linspace third positional argument
was not used as the "num" argmuent, and where too many positional args
were not treated as an error:

    >>> ulab.linspace(0, 1, 9)
    array([0.0, 0.125, 0.25, 0.375, 0.5, 0.625, 0.75, 0.875, 1.0], dtype=float)
    >>> ulab.linspace(0, 1, 1, 1)
    TypeError: extra positional arguments given

In the case of argmin/argmax of an iterable, it is now signaled to the user
that only the axis=None case is supported, instead of giving a wrong
result.
2020-04-06 08:33:18 -05:00
..
create.c Fix -Wunused-parameter diagnostics 2020-04-06 08:33:18 -05:00
create.h Fix -Wmissing-prototypes diagnostics 2020-04-06 08:05:43 -05:00
extras.c Fix -Wmissing-prototypes diagnostics 2020-04-06 08:05:20 -05:00
extras.h moved spectrum to extras module 2020-03-09 20:47:58 +01:00
fft.c Fix -Wmissing-prototypes diagnostics 2020-04-06 08:05:20 -05:00
fft.h moved spectrum to extras module 2020-03-09 20:47:58 +01:00
filter.c Fix -Wunused-parameter diagnostics 2020-04-06 08:33:18 -05:00
filter.h roll back constness corrections 2020-02-18 21:00:30 -06:00
linalg.c Fix -Wunused-parameter diagnostics 2020-04-06 08:33:18 -05:00
linalg.h added function declarations to linalg.h 2020-03-09 21:22:31 +01:00
micropython.mk created new create sub-module for ndarray initialisation functions 2020-02-27 20:39:13 +01:00
ndarray.c Fix -Wunused-parameter diagnostics 2020-04-06 08:33:18 -05:00
ndarray.h implemented the ==, and != binary operators 2020-04-04 22:14:36 +02:00
ndarray_properties.h Use circuitpy-compat for none 2020-02-27 08:56:04 -06:00
numerical.c Fix -Wunused-parameter diagnostics 2020-04-06 08:33:18 -05:00
numerical.h Fix -Wshadow diagnostics 2020-04-06 08:12:47 -05:00
poly.c remove unused function get_nditerable_len 2020-04-06 08:06:33 -05:00
poly.h roll back constness corrections 2020-02-18 21:00:30 -06:00
ulab.c circuitpython compatibility 2020-04-06 07:38:12 -05:00
ulab.h moved spectrum to extras module 2020-03-09 20:47:58 +01:00
vectorise.c Fix -Wmissing-prototypes diagnostics 2020-04-06 08:05:20 -05:00
vectorise.h Fix -Wmissing-prototypes diagnostics 2020-04-06 08:05:20 -05:00