Changeset 788 in Sophya for trunk/SophyaExt/LinAlg


Ignore:
Timestamp:
Mar 20, 2000, 7:23:27 PM (26 years ago)
Author:
ansari
Message:

Correction bug, / TArray<T> Reza 20/3/2000

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaExt/LinAlg/intflapack.cc

    r775 r788  
    1717  if ( aa.SizeX() !=  aa.SizeY()) throw(SzMismatchError("rztest_lapack(TMatrix<r_4> A Not a square Matrix"));
    1818  if ( bb.NbDimensions() != 2 ) throw(SzMismatchError("rztest_lapack(TMatrix<r_4> A Not a Matrix"));
    19   if ( bb.SizeY() !=  aa.SizeY() ) throw(SzMismatchError("rztest_lapack(TMatrix<r_4> A <> B "));
     19  if ( bb.SizeX() !=  aa.SizeX() ) throw(SzMismatchError("rztest_lapack(TMatrix<r_4> A <> B "));
    2020  if ( !bb.IsPacked() || !bb.IsPacked() )
    2121    throw(SzMismatchError("rztest_lapack(TMatrix<r_4> Not packed A or B "));
    2222 
    23   int_4 n = aa.SizeY();
    24   int_4 nrhs = bb.SizeX();
     23  int_4 n = aa.SizeX();
     24  int_4 nrhs = bb.SizeY();
    2525  int_4 lda = n;
    26   int_4 ldb = bb.SizeY();
     26  int_4 ldb = bb.SizeX();
    2727  int_4 info;
    2828  int_4* ipiv = new int_4[n];
Note: See TracChangeset for help on using the changeset viewer.