|
160 | 160 | <ul class="summary"> |
161 | 161 | <img src="./nimble-icon.png" |
162 | 162 | width=100> |
163 | | -<li><a href="./cha-welcome-nimble.html">NIMBLE User Manual, Version 1.4.0</a></li> |
| 163 | +<li><a href="./cha-welcome-nimble.html">NIMBLE User Manual, Version 1.4.1</a></li> |
164 | 164 | <li><a href="https://github.com/nimble-dev/nimble">NIMBLE Development Team</a></li> |
165 | 165 | <li><a href="https://R-nimble.org">https://R-nimble.org</a></li> |
166 | 166 |
|
@@ -1659,14 +1659,14 @@ <h4><span class="header-section-number">12.3.2.7</span> Understanding dimensions |
1659 | 1659 | <h4><span class="header-section-number">12.3.2.8</span> Size warnings and the potential for crashes<a href="cha-RCfunctions.html#sec:size-warn-potent" class="anchor-section" aria-label="Anchor link to header"></a></h4> |
1660 | 1660 | <p>For matrix algebra, NIMBLE cannot ensure perfect behavior because |
1661 | 1661 | sizes are not known until run time. Therefore, it is possible for you |
1662 | | -to write code that will crash your R session. In Version 1.4.0, NIMBLE |
| 1662 | +to write code that will crash your R session. In Version 1.4.1, NIMBLE |
1663 | 1663 | attempts to issue a warning if sizes are not compatible, but it does not |
1664 | 1664 | halt execution. Therefore, if you execute <code>A <- M1 %*% M2</code>, and <code>M1</code> and <code>M2</code> are not compatible for matrix multiplication, |
1665 | 1665 | NIMBLE will output a warning that the number of rows of <code>M1</code> does not |
1666 | 1666 | match the number of columns of <code>M2</code>. After that warning the statement |
1667 | 1667 | will be executed and may result in a crash. Another easy way to write |
1668 | 1668 | code that will crash is to do things like <code>Y[5:10, 20:30] <- x</code> without ensuring Y is at least 10x30. In the future we hope to |
1669 | | -prevent crashes, but in Version 1.4.0 we limit ourselves to trying to provide |
| 1669 | +prevent crashes, but in Version 1.4.1 we limit ourselves to trying to provide |
1670 | 1670 | useful information.</p> |
1671 | 1671 | </div> |
1672 | 1672 | </div> |
|
0 commit comments