More consistent formatting of examples in documentation
This commit is contained in:
parent
7ee76f93f9
commit
8052211ac5
6 changed files with 76 additions and 77 deletions
|
|
@ -1633,10 +1633,9 @@ class DoubleArray {
|
||||||
void setitem(int i, double val) {
|
void setitem(int i, double val) {
|
||||||
if ((i >= 0) && (i < n))
|
if ((i >= 0) && (i < n))
|
||||||
ptr[i] = val;
|
ptr[i] = val;
|
||||||
else {
|
else
|
||||||
throw RangeError();
|
throw RangeError();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
};
|
};
|
||||||
</pre></div>
|
</pre></div>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue