Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature 1473 python errors #1615

Merged
merged 9 commits into from
Jan 25, 2021
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ int nrows, ncols, Nx, Ny;

if ( np.n_dims() != 2 ) {

mlog << Error << "\ndataplane_from_numpy_array() -> "
<< "numpy array is not 2-dimensional! ... "
mlog << Error << "\ndataplane_from_data_array() -> "
<< "data array is not 2-dimensional! ... "
<< "(dim = " << (np.n_dims()) << ")\n\n";

exit ( 1 );
Expand Down Expand Up @@ -170,8 +170,8 @@ else if ( dtype == ">f8" ) load_numpy <double> (np.buffer(), Nx, Ny, bi

else {

mlog << Error << "\ndataplane_from_numpy_array() -> "
<< "unsupported numpy data type \"" << dtype << "\"\n\n";
mlog << Error << "\ndataplane_from_data_array() -> "
<< "unsupported data type \"" << dtype << "\"\n\n";

exit ( 1 );

Expand Down