mirror of
https://github.com/DarthAffe/StableDiffusion.NET.git
synced 2025-12-13 05:48:40 +00:00
Removed unneccessary null-forgiving operator
This commit is contained in:
parent
c6f99d080d
commit
55a8d3f261
@ -223,7 +223,7 @@ public sealed unsafe class StableDiffusionModel : IDisposable
|
|||||||
parameter.Validate();
|
parameter.Validate();
|
||||||
|
|
||||||
Native.sd_image_t* result;
|
Native.sd_image_t* result;
|
||||||
if (parameter!.ControlNet.IsEnabled)
|
if (parameter.ControlNet.IsEnabled)
|
||||||
{
|
{
|
||||||
fixed (byte* imagePtr = parameter.ControlNet.Image)
|
fixed (byte* imagePtr = parameter.ControlNet.Image)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user