b45ch1 / algopy

AlgoPy is a Research Prototype for Algorithmic Differentation in Python
80 stars 14 forks source link

Fixed dimension bug in outer function #52

Open mmottl opened 7 years ago

mmottl commented 7 years ago

The Numpy outer function accepts vectors of different length, returning a non-square matrix in that case. But Algopy assumes that both vectors are of the same length. I have fixed this for the UTPM/UTPM case, but it still needs to be fixed for numpy.ndarray instances.