mirror of
				https://github.com/gnss-sdr/gnss-sdr
				synced 2025-10-30 23:03:05 +00:00 
			
		
		
		
	Fix wrong order of arguments in calloc
This commit is contained in:
		| @@ -1034,7 +1034,7 @@ double *zeros(int n, int m) | ||||
|         { | ||||
|             return nullptr; | ||||
|         } | ||||
|     if (!(p = static_cast<double *>(calloc(sizeof(double), n * m)))) | ||||
|     if (!(p = static_cast<double *>(calloc(n * m, sizeof(double))))) | ||||
|         { | ||||
|             fatalerr("matrix memory allocation error: n=%d,m=%d\n", n, m); | ||||
|         } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Carles Fernandez
					Carles Fernandez