Fix vector printing
This commit is contained in:
BIN
Simon Bestler und Johannes Freitag.zip
Normal file
BIN
Simon Bestler und Johannes Freitag.zip
Normal file
Binary file not shown.
2
main.c
2
main.c
@@ -480,7 +480,7 @@ inline void freeVector(Vector* vector) {
|
|||||||
|
|
||||||
void printVector(Vector* vector) {
|
void printVector(Vector* vector) {
|
||||||
for(int i = 0; i < vector->n; i++) {
|
for(int i = 0; i < vector->n; i++) {
|
||||||
printf("%lf, ", vector->data[i]);
|
printf("%lf ", vector->data[i]);
|
||||||
}
|
}
|
||||||
puts("");
|
puts("");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user