Skip to content

Commit

Permalink
just a few typos
Browse files Browse the repository at this point in the history
  • Loading branch information
fchapoton committed Oct 19, 2024
1 parent 741147c commit 135e022
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions lmfdb/elliptic_curves/web_ec.py
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ def red(p):
data['manin_known'] = False
data['optimal_label'] = self.Clabel if self.label_type == 'Cremona' else self.lmfdb_label
else:
# find curve #1 in this class and its optimailty code:
# find curve #1 in this class and its optimality code:
opt_curve = db.ec_curvedata.lucky({'Ciso': self.Ciso, 'Cnumber': 1},
projection=['Clabel','lmfdb_label','optimality'])
data['manin_known'] = (opt_curve['optimality'] == 1)
Expand All @@ -511,7 +511,7 @@ def red(p):

# p-adic data:

data['p_adic_primes'] = [p for i,p in enumerate(prime_range(5, 100))
data['p_adic_primes'] = [p for i, p in enumerate(prime_range(5, 100))
if (N*data['ap'][i]) % p != 0]

data['p_adic_data_exists'] = False
Expand Down
4 changes: 2 additions & 2 deletions lmfdb/static/jquery.tablesorter.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
* @desc Create a simple tablesorter interface.
*
* @example $('table').tablesorter({ sortList:[[0,0],[1,0]] });
* @desc Create a tablesorter interface and sort on the first and secound column column headers.
* @desc Create a tablesorter interface and sort on the first and second column column headers.
*
* @example $('table').tablesorter({ headers: { 0: { sorter: false}, 1: {sorter: false} } });
*
Expand Down Expand Up @@ -49,7 +49,7 @@
* to sortable tr elements in the thead on a descending sort. Default
* value: "headerSortDown"
*
* @option String sortInitialOrder (optional) A string of the inital sorting
* @option String sortInitialOrder (optional) A string of the initial sorting
* order can be asc or desc. Default value: "asc"
*
* @option String sortMultisortKey (optional) A string of the multi-column sort
Expand Down
2 changes: 1 addition & 1 deletion lmfdb/utils/display_stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@ def display_data(self, cols, table=None, constraint=None, avg=None,
- ``totaler`` -- (1d-case) a query giving the denominator for the proportions.
-- (2d-case) a function taking inputs the grid, row headers, col headers
and this object, which adds some totals to the grid
- ``proprotioner`` -- a function for adding proportions
- ``proportioner`` -- a function for adding proportions
See examples at the top of display_stats.py.
- ``baseurl_func`` -- a base url, to which url_for is applied and then col=value tags are appended.
Defaults to the url for ``self.baseurl_func``.
Expand Down
3 changes: 2 additions & 1 deletion lmfdb/utils/uploader.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,8 @@ def final_process(self, ids, F, by_table=None, cols=None):
["id", "status", "processed", "updated", "comment"]
The later arguments are not used by default (they are present since GonalityBounds needs to update
these dictionaries)
these dictionaries):
- ``by_table`` -- a dictionary, with keys (table, newrow) and values a list of lines,
as output by the process method.
- ``cols`` -- a dictionary with keys (table, newrow) and values the set of columns for that pair
Expand Down

0 comments on commit 135e022

Please sign in to comment.