MPS issue job003931

TitleManual claims SNC allocation point requires MPS_KEY_RANK
Statusclosed
Prioritynice
Assigned userGareth Rees
OrganizationRavenbrook
DescriptionSee [1]: "When creating an allocation point on an SNC pool, mps_ap_create_k() requires one keyword argument: MPS_KEY_RANK ... It must be mps_rank_exact()."

Is this true? If so, it seems silly. There should be a default value.
AnalysisIt's not true: MPS_KEY_RANK is optional and defaults to mps_rank_exact(); see rankBufInit [2].
How foundinspection
Evidence[1] <http://www.ravenbrook.com/project/mps/master/manual/html/pool/snc.html>
[2] <http://www.ravenbrook.com/project/mps/master/code/buffer.c>
Created byGareth Rees
Created on2015-08-26 11:30:31
Last modified byGareth Rees
Last modified on2015-08-26 12:31:03
History2015-08-26 GDR Created.

Fixes

Change Effect Date User Description
188178 closed 2015-08-26 12:31:03 Gareth Rees Keyword argument MPS_KEY_RANK is optional when creating an allocation point for an SNC pool.