octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #56196] Octave crashes if isdefinite is called


From: Philip Nienhuis
Subject: [Octave-bug-tracker] [bug #56196] Octave crashes if isdefinite is called with a special sparse matrix
Date: Tue, 23 Apr 2019 15:13:59 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:51.0) Gecko/20100101 Firefox/51.0 SeaMonkey/2.48

Follow-up Comment #2, bug #56196 (project octave):

FWIW, on Windows 7 professional 64-bit, Octave-6.0.0 cross-built last Saturday
gives:

>>   octave_isdefinite
Test passed
>>


(the Octave installation uses OpenBLAS).

Furthermore:

>> load A.mat
>> A = full (A)
A =
 Columns 1 through 5:
   3421699658.97806  -1329167787.15576   -188897386.59746   1330868992.10312  
-770534152.27245
  -1329167787.15576   2923169894.91555    609672815.53058  -1165216168.14949  
  84939778.70986
   -188897386.59746    609672815.53058   1405246451.98981   -689232261.16045  
-153285439.80214
   1330868992.10312  -1165216168.14949   -689232261.16045   3067495708.46469  
-528745777.64636
   -770534152.27245     84939778.70986   -153285439.80214   -528745777.64636  
1364836099.04873
  -1051596404.73627    718344076.03676    109353272.50210  -1797360230.92213  
 326740155.49503
    -57774584.88568   -538939774.18331   -516774712.60558    202458225.35920  
-307523911.90898
   -153929858.26534    -59607182.91670     23688733.35395    -97392492.00033  
  66181180.51842
    269669543.32347   -134176610.52269   -119165360.74797      7487769.86356  
-156343704.78725
   -119738821.93800   -473104206.55338   -370038108.92368    211974868.79347  
-254244313.26377
  -1050098160.89931   1162241582.69044    343720599.55273   -587481909.99435  
 118822730.51051
    227372822.75160     25449745.82852    -94403739.73753    166293902.13523  
 -30210433.27550
    -91015635.66942    262349748.94597    591406796.69914   -350470979.57665  
-136637967.24468
    466486867.41918   -580788773.60646   -343632443.22930   1168973006.89575  
-118753718.09579
     56304098.46400   -145618978.45908     -6433104.64610    356705206.84050  
 -89325966.52666
   -417139462.92708    -63774078.31169   -187469183.76724   -228411248.78833  
 575939145.06082
   -705561985.34357    341713655.68207     55664156.48561  -1225038683.22223  
 308992249.01468
    159290793.02113   -244555360.82502   -122245452.53780    230923576.57796  
 -90754152.00853
    595662466.86310    242297082.24772   -114238437.33409    319799707.46834  
-257957698.66235
   1286827100.13224   -925512643.45751    -55560668.62766    641284642.01508  
-308911234.44088
 Columns 6 through 10:
  -1051596404.73627    -57774584.88568   -153929858.26534    269669543.32347  
-119738821.93800
    718344076.03676   -538939774.18331    -59607182.91670   -134176610.52269  
-473104206.55338
    109353272.50210   -516774712.60558     23688733.35395   -119165360.74797  
-370038108.92368
  -1797360230.92213    202458225.35920    -97392492.00033      7487769.86356  
 211974868.79347
    326740155.49503   -307523911.90898     66181180.51842   -156343704.78725  
-254244313.26377
   2340988957.89619   -278761631.32561     -6019960.23133   -194435307.05952  
-141390515.82191
   -278761631.32561    654686273.85970     24520218.98755     46210438.76275  
 347122536.68260
     -6019960.23133     24520218.98755     23074587.78847     32137671.50966  
  24877267.87106
   -194435307.05952     46210438.76275     32137671.50966   1929487179.48718  
        -0.00000
   -141390515.82191    347122536.68260     24877267.87106           -0.00000  
2458333333.33333
    459793731.03129   -218355890.89571     -1600791.32959            0.00000 
-1177884615.38462
   -237552251.71093    148266807.56452    -46470912.36945   -695512820.51282  
         0.00000
      2894405.03873   -238864581.98585     18252723.03609            0.00000 
-1152243589.74359
  -1043366736.69399    218041553.41940    -15362534.25332           -0.00000  
1177884615.38462
    -47140947.00566     90556603.88400     13161206.22804    493589743.58974  
         0.00000
    124954135.82705   -106266845.66407     42100559.82571            0.00000  
-419871794.87180
    987301060.36751    -22582041.76980     29586195.73627            0.00000  
-235576923.07692
     29000499.65488    -78808483.21504    -38619795.46489   -919871794.87180  
        -0.00000
    -33565677.14705   -157050035.69943    -67793258.35530           -0.00000  
-655448717.94872
   -405990999.01057     22213036.90631    -49499664.89882            0.00000  
 235576923.07692
 Columns 11 through 15:
  -1050098160.89931    227372822.75160    -91015635.66942    466486867.41918  
  56304098.46400
   1162241582.69044     25449745.82852    262349748.94597   -580788773.60646  
-145618978.45908
    343720599.55273    -94403739.73753    591406796.69914   -343632443.22930  
  -6433104.64610
   -587481909.99435    166293902.13523   -350470979.57665   1168973006.89575  
 356705206.84050
    118822730.51051    -30210433.27550   -136637967.24468   -118753718.09579  
 -89325966.52666
    459793731.03129   -237552251.71093      2894405.03873  -1043366736.69399  
 -47140947.00566
   -218355890.89571    148266807.56452   -238864581.98585    218041553.41940  
  90556603.88400
     -1600791.32959    -46470912.36945     18252723.03609    -15362534.25332  
  13161206.22804
            0.00000   -695512820.51282            0.00000           -0.00000  
 493589743.58974
  -1177884615.38462            0.00000  -1152243589.74359   1177884615.38462  
         0.00000
   4814102564.10257            0.00000   1177884615.38462  -2330128205.12820  
         0.00000
            0.00000   1929487179.48718            0.00000            0.00000  
-919871794.87180
   1177884615.38462            0.00000   2458333333.33333  -1177884615.38462  
         0.00000
  -2330128205.12820            0.00000  -1177884615.38462   4814102564.10257  
         0.00000
            0.00000   -919871794.87180            0.00000            0.00000  
1929487179.48718
    235576923.07692           -0.00000   -655448717.94872   -235576923.07692  
        -0.00000
   1935897435.89744            0.00000    235576923.07692  -4189102564.10257  
        -0.00000
           -0.00000    493589743.58974           -0.00000           -0.00000  
-695512820.51282
   -235576923.07692            0.00000   -419871794.87180    235576923.07692  
         0.00000
  -4189102564.10257           -0.00000   -235576923.07692   1935897435.89744  
         0.00000
 Columns 16 through 20:
   -417139462.92708   -705561985.34357    159290793.02113    595662466.86310  
1286827100.13224
    -63774078.31169    341713655.68207   -244555360.82502    242297082.24772  
-925512643.45751
   -187469183.76724     55664156.48561   -122245452.53780   -114238437.33409  
 -55560668.62766
   -228411248.78833  -1225038683.22223    230923576.57796    319799707.46834  
 641284642.01508
    575939145.06082    308992249.01468    -90754152.00853   -257957698.66235  
-308911234.44088
    124954135.82705    987301060.36751     29000499.65488    -33565677.14705  
-405990999.01057
   -106266845.66407    -22582041.76980    -78808483.21504   -157050035.69943  
  22213036.90631
     42100559.82571     29586195.73627    -38619795.46489    -67793258.35530  
 -49499664.89882
            0.00000            0.00000   -919871794.87180           -0.00000  
         0.00000
   -419871794.87180   -235576923.07692           -0.00000   -655448717.94872  
 235576923.07692
    235576923.07692   1935897435.89744           -0.00000   -235576923.07692 
-4189102564.10257
           -0.00000            0.00000    493589743.58974            0.00000  
        -0.00000
   -655448717.94872    235576923.07692           -0.00000   -419871794.87180  
-235576923.07692
   -235576923.07692  -4189102564.10257           -0.00000    235576923.07692  
1935897435.89744
           -0.00000           -0.00000   -695512820.51282            0.00000  
         0.00000
   2458333333.33333   1177884615.38462            0.00000  -1152243589.74359 
-1177884615.38462
   1177884615.38462   4814102564.10257            0.00000  -1177884615.38462 
-2330128205.12820
            0.00000            0.00000   1929487179.48718           -0.00000  
        -0.00000
  -1152243589.74359  -1177884615.38462           -0.00000   2458333333.33333  
1177884615.38462
  -1177884615.38462  -2330128205.12820           -0.00000   1177884615.38462  
4814102564.10257

>> isdefinite (A)
ans = 1


A doesn't look very sparse to me, it looks more like a full matrix in a sparse
disguise; it has only 12 entries equal to zero. Or do I understand it wrong?

Anyway I can't reproduce the issue, but of course my installation here is a
very small population to draw significant conclusions from. I suppose the same
can be said about the OP's system.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?56196>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]