mirror of
https://github.com/DarthAffe/StableDiffusion.NET.git
synced 2026-11-11 11:26:32 +00:00
Fixed code issue
This commit is contained in:
1 parent
2a7e419e4c
commit
8f5f5c7354
1 file changed
+1
-1
@@ -91,7 +91,7 @@ public readonly ref struct ReadOnlyRefEnumerable<T>
|
||||
{
|
||||
this._step = step;
|
||||
|
||||
_span = MemoryMarshal.CreateReadOnlySpan(ref Unsafe.AsRef(reference), length);
|
||||
_span = MemoryMarshal.CreateReadOnlySpan(ref Unsafe.AsRef(in reference), length);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
Reference in new issue
Block a user