Ignore:
Timestamp:
Dec 13, 2025, 4:56:22 PM (3 months ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
master, stuck-waitfor-destruct
Children:
5d300ba
Parents:
67748f9
Message:

more array proofreading

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/theses/mike_brooks_MMath/programs/hello-accordion.cfa

    r67748f9 r35fc819  
    3131int getPref( @School( C, S ) & school@, int is, int pref ) {
    3232        for ( ic; C ) {
    33                 if ( pref == @school.preferences@[ic][is]; ) return ic; $\C{// offset calculation implicit}$
     33                if ( pref == @school.preferences@[ic][is] ) return ic; $\C{// offset calculation implicit}$
    3434        }
    35         assert( false );
     35        assert( false );        // must find a match
    3636}
    3737
     
    8989
    9090        for ( is; ns ) {
    91                 sout | school.student_ids[is] | ": " | nonl;
     91                sout | school.student_ids[is] | ": ";
    9292                for ( pref; 1 ~= nc ) {
    9393                        int ic = getPref( school, is, pref );
Note: See TracChangeset for help on using the changeset viewer.