Skip to content

Commit

Permalink
Make NpyCoreApi.CheckError() publically accessible.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason McCampbell (Enthought, Inc) committed Feb 27, 2011
1 parent 49d13fe commit 66f277b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion numpy/NumpyDotNet/NpyCoreApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2324,7 +2324,7 @@ private enum NpyExc_Type {
[ThreadStatic]
private static string ErrorMessage = null;

internal static void CheckError() {
public static void CheckError() {
if (ErrorCode != NpyExc_Type.NoError) {
NpyExc_Type errTmp = ErrorCode;
String msgTmp = ErrorMessage;
Expand Down

0 comments on commit 66f277b

Please sign in to comment.