Skip to content

Commit

Permalink
Reshape matrix default type error fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
versilov committed Mar 8, 2019
1 parent dea808c commit 3a81799
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/matrex.ex
Expand Up @@ -2485,9 +2485,9 @@ defmodule Matrex do
do: matrex

def reshape(
%Matrex{shape: shape} = matrex,
%Matrex{shape: shape, type: type} = matrex,
new_shape,
type
_type
)
when is_tuple(new_shape),
do:
Expand Down

0 comments on commit 3a81799

Please sign in to comment.