circuitpython-ulab/code
Jeff Epler d0b11a6081 polyfit: Argument handling improvements
* In the 3-args case, the lengths of the arguments were not checked
 * in the 3-args case, the type of the 2nd argument was not checked
 * gcc falsely diagnosed a `maybe-uninitialized` variable because it
   did not see that the branches of the if() statement were mutually
   exclusive

It's this third issue that originally drew my attention to this code,
adafruit/circuitpython#2787
2020-04-20 07:58:30 -05:00
..
create.c Fix -Wsign-compare diagnostics 2020-04-06 08:38:43 -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 -Wsign-compare diagnostics 2020-04-06 08:38:43 -05:00
filter.h roll back constness corrections 2020-02-18 21:00:30 -06:00
linalg.c fix indexing error in linalg.dot 2020-04-14 09:05:22 +02: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 transpose function to conform to numpy 2020-04-09 12:38:19 +02:00
ndarray.h fixed compilation error in issue #98 2020-04-18 09:05:47 +02:00
ndarray_properties.h Use circuitpy-compat for none 2020-02-27 08:56:04 -06:00
numerical.c fixed another indexing error in argmin/argmax 2020-04-13 21:56:55 +02:00
numerical.h Fix -Wshadow diagnostics 2020-04-06 08:12:47 -05:00
poly.c polyfit: Argument handling improvements 2020-04-20 07:58:30 -05:00
poly.h roll back constness corrections 2020-02-18 21:00:30 -06:00
ulab.c fixed compilation error in issue #98 2020-04-18 09:05:47 +02: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