Opened 3 years ago

Closed 3 years ago

#947 closed defect (fixed)

getvector(vector<double>&)

Reported by: Peter Owned by: Peter
Priority: major Milestone: yat 0.17.1
Component: utility Version: 0.17
Keywords: Cc:

Description

For T being numeric the vector is appended to the current vector, whereas for T=string, the passed vector is ignored. This inconsistent behaviour is confusing and although not documented a bug. I'd suggest the T=string behaviour is the expected so the user can do

while (getvector(is, vec, '\t')) {
yada yada
} 

Change History (2)

comment:1 Changed 3 years ago by Peter

Owner: changed from Jari Häkkinen to Peter
Status: newaccepted

comment:2 Changed 3 years ago by Peter

Resolution: fixed
Status: acceptedclosed

Fixed in r3923

Note: See TracTickets for help on using tickets.