Skip to content

Commit 1b82378

Browse files
authored
Merge pull request xyzhang626#1 from sroussey/segfault
fix: segfault
2 parents 5672918 + 0d84dfa commit 1b82378

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ int main(int argc, char ** argv) {
115115
printf("[ ");
116116
for (int i = 0; i < n_embd; i++) {
117117
const char * sep = (i == n_embd - 1) ? "" : ",";
118-
printf("%1.4f%s ", sep, embed[i]);
118+
printf("%1.4f%s ",embed[i], sep);
119119
}
120120
printf("]\n");
121121

0 commit comments

Comments
 (0)