diff --git a/docs/dotnet_interface.md b/docs/dotnet_interface.md index 64e19751..573f9381 100644 --- a/docs/dotnet_interface.md +++ b/docs/dotnet_interface.md @@ -367,10 +367,6 @@ public void sample() throw new InvalidOperationException(error); } - if (!(int)ctx.SolveBoard(deal, -1, 1, 0, out FutureTricks fut)) - throw new InvalidOperationException("DDS_Core failed to solve the board."); - - ... var ddTableDeal = new() {Cards = hands }; diff --git a/dotnet/DDS_Core/DDS.cs b/dotnet/DDS_Core/DDS.cs index 7126e4fd..c23850de 100644 --- a/dotnet/DDS_Core/DDS.cs +++ b/dotnet/DDS_Core/DDS.cs @@ -169,7 +169,6 @@ public int SolveAllBoards( in BoardsPBN boards , out SolvedBoards solved) { solved = default; - //Note: To step into c++ code you must set a break in c++? var rc = DdsNative.SolveAllBoards( boards , out solved); @@ -189,7 +188,6 @@ public int SolveAllBoards( in Boards bop { solved = default; - //Note: To step into c++ code you must set a break in c++? var rc = DdsNative.SolveAllBoardsBin( bop , out solved); @@ -638,4 +636,4 @@ private static void ThrowIfError(in int result, in string functionName) throw new InvalidOperationException($"{functionName} failed with code {result}: {result.GetRCErrorMessage()}"); } #endregion -} +} \ No newline at end of file