Skip to content

Commit b5e73f9

Browse files
committed
fix sd3 null bias breaking build
1 parent 8a3346f commit b5e73f9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

latent-preview.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const float wan_21_latent_rgb_proj[16][3] = {
1313
{-0.151145f, 0.017721f, 0.007207f},
1414
{-0.293239f, -0.207936f, -0.421135f},
1515
{-0.187721f, 0.050783f, 0.177649f},
16-
{-0.013067f, 0.265964f, 0.166578f},
16+
{-0.013067f, 0.265964f, 0.166578f },
1717
{0.028327f, 0.109329f, 0.108642f},
1818
{-0.205343f, 0.043991f, 0.148914f},
1919
{0.014307f, -0.048647f, -0.007219f},
@@ -115,7 +115,7 @@ const float sd3_latent_rgb_proj[16][3] = {
115115
{-0.0749f, -0.0634f, -0.0456f},
116116
{-0.1418f, -0.1457f, -0.1259f},
117117
};
118-
float sd3_latent_rgb_bias[3] = NULL;
118+
float sd3_latent_rgb_bias[3] = {0, 0, 0};
119119

120120
const float sdxl_latent_rgb_proj[4][3] = {
121121
{0.258303f, 0.277640f, 0.329699f},

0 commit comments

Comments
 (0)