If variables are passed to PCGA as (n,) arrays instead of (n,1) arrays it will result confusing errors. This pull request improves the handling of input arrays to make sure they are of the correct dimensionality. This is also true for the output from the forward model function.
Additionally I have added support for Mac in the example_inv_mf example.
If variables are passed to PCGA as (n,) arrays instead of (n,1) arrays it will result confusing errors. This pull request improves the handling of input arrays to make sure they are of the correct dimensionality. This is also true for the output from the forward model function.
Additionally I have added support for Mac in the example_inv_mf example.