Skip to content

Commit

Permalink
pass readonly struct with in
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Felix committed Feb 3, 2024
1 parent b903435 commit 35b07fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SATInterface/Model.cs
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ public UIntVar AddUIntConst(T _c)
/// </summary>
/// <param name="_ub">Upper bound of this variable or UIntVar.Unbounded when >2^30</param>
/// <param name="_bits">The bits making up this variable</param>
public UIntVar AddUIntVar(BoolExpr[] _bits, T? _ub = null) => new(this, _ub ?? T.One << _bits.Length, _bits, _ub.HasValue);
public UIntVar AddUIntVar(BoolExpr[] _bits, in T? _ub = null) => new(this, _ub ?? T.One << _bits.Length, _bits, _ub.HasValue);

/// <summary>
/// Creates a new unsigned integer variable with the specified upper bound.
Expand Down

0 comments on commit 35b07fa

Please sign in to comment.