/* By: ljiriste <ljiriste@student.42prague.com> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/04/05 10:00:33 by ljiriste #+# #+# */
-/* Updated: 2024/04/05 10:07:19 by ljiriste ### ########.fr */
+/* Updated: 2024/04/12 16:14:36 by ljiriste ### ########.fr */
/* */
/* ************************************************************************** */
size_t j;
i = 0;
- while (i < mat->cols)
+ while (i < mat->rows)
{
j = 0;
- while (j < mat->rows)
+ while (j < mat->cols)
{
ft_memcpy(ft_mat_access(mat, i, j), filler, mat->vec.el_size);
++j;