diff --git a/SCE/SCE/SCE.cpp b/SCE/SCE/SCE.cpp index 1a82901..1069232 100644 --- a/SCE/SCE/SCE.cpp +++ b/SCE/SCE/SCE.cpp @@ -40,7 +40,7 @@ void lgs() { LGS lgs; lgs.data_entry(); - //lgs.gauss(); - lgs.cramer(); + cout << lgs.gauss(); + cout << lgs.cramer(); cout << endl; } diff --git a/SCE/SCE/lgs.cpp b/SCE/SCE/lgs.cpp index c37703f..365a8f6 100644 --- a/SCE/SCE/lgs.cpp +++ b/SCE/SCE/lgs.cpp @@ -66,7 +66,7 @@ void LGS::copy_array() void LGS::swap_column(long double** ca2, int col) { long double* temp = new long double[variables]; - + copy_array(); for(int i=0; i < variables ;i++) { temp[i] = CA[i][variables];