Changeset 10791 in ntrip for trunk/BNC/newmat/newmat7.cpp
- Timestamp:
- Dec 3, 2025, 5:37:16 PM (2 months ago)
- File:
-
- 1 edited
-
trunk/BNC/newmat/newmat7.cpp (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/newmat/newmat7.cpp
r9434 r10791 545 545 { REPORT AddDS(gm1,gm2); gm2->tDelete(); gmx = gm1; } 546 546 else if (c2 && gm2->reuse() ) 547 { REPORT AddDS(gm2,gm1); if (!c1) gm1->tDelete(); gmx = gm2; } 547 { REPORT AddDS(gm2,gm1); 548 if (!c1) gm1->tDelete(); 549 gmx = gm2; 550 } 548 551 else 549 552 { … … 552 555 CatchAll 553 556 { 554 if (!c1) gm1->tDelete(); if (!c2) gm2->tDelete(); 557 if (!c1) gm1->tDelete(); 558 if (!c2) gm2->tDelete(); 555 559 ReThrow; 556 560 } 557 561 AddDS(gmx,gm1,gm2); 558 if (!c1) gm1->tDelete(); if (!c2) gm2->tDelete(); 562 if (!c1) gm1->tDelete(); 563 if (!c2) gm2->tDelete(); 559 564 gmx->ReleaseAndDelete(); 560 565 } … … 616 621 { 617 622 REPORT ReverseSubtractDS(gm2,gm1); 618 if (!c1) gm1->tDelete(); gmx = gm2; 623 if (!c1) gm1->tDelete(); 624 gmx = gm2; 619 625 } 620 626 else … … 625 631 CatchAll 626 632 { 627 if (!c1) gm1->tDelete(); if (!c2) gm2->tDelete(); 633 if (!c1) gm1->tDelete(); 634 if (!c2) gm2->tDelete(); 628 635 ReThrow; 629 636 } 630 637 SubtractDS(gmx,gm1,gm2); 631 if (!c1) gm1->tDelete(); if (!c2) gm2->tDelete(); 638 if (!c1) gm1->tDelete(); 639 if (!c2) gm2->tDelete(); 632 640 gmx->ReleaseAndDelete(); 633 641 } … … 695 703 CatchAll 696 704 { 697 if (!c1) gm1->tDelete(); if (!c2) gm2->tDelete(); 705 if (!c1) gm1->tDelete(); 706 if (!c2) gm2->tDelete(); 698 707 ReThrow; 699 708 } 700 709 SPDS(gmx,gm1,gm2); 701 if (!c1) gm1->tDelete(); if (!c2) gm2->tDelete(); 710 if (!c1) gm1->tDelete(); 711 if (!c2) gm2->tDelete(); 702 712 gmx->ReleaseAndDelete(); 703 713 } … … 779 789 while (i--) 780 790 { 781 if (*s1++ != *s2++) return false; if (*s1++ != *s2++) return false; 782 if (*s1++ != *s2++) return false; if (*s1++ != *s2++) return false; 791 if (*s1++ != *s2++) return false; 792 if (*s1++ != *s2++) return false; 793 if (*s1++ != *s2++) return false; 794 if (*s1++ != *s2++) return false; 783 795 } 784 796 i = n & 3; while (i--) if (*s1++ != *s2++) return false; … … 791 803 while (i--) 792 804 { 793 if (*s1++ != *s2++) return false; if (*s1++ != *s2++) return false; 794 if (*s1++ != *s2++) return false; if (*s1++ != *s2++) return false; 805 if (*s1++ != *s2++) return false; 806 if (*s1++ != *s2++) return false; 807 if (*s1++ != *s2++) return false; 808 if (*s1++ != *s2++) return false; 795 809 } 796 810 i = n & 3; while (i--) if (*s1++ != *s2++) return false; … … 869 883 while (i--) 870 884 { 871 if (*s++) return false; if (*s++) return false; 872 if (*s++) return false; if (*s++) return false; 885 if (*s++) return false; 886 if (*s++) return false; 887 if (*s++) return false; 888 if (*s++) return false; 873 889 } 874 890 i = storage & 3; while (i--) if (*s++) return false;
Note:
See TracChangeset
for help on using the changeset viewer.
