Opened 16 years ago

Closed 16 years ago

## #249 closed defect (fixed)

# Euclidean returns squared value

Reported by: | Markus Ringnér | Owned by: | Peter |
---|---|---|---|

Priority: | major | Milestone: | yat 0.4 |

Component: | statistics | Version: | |

Keywords: | Cc: |

### Description

operator() in Euclidean calculates squared Euclidean distances. I think this is confusing. NOTE: The Distance structure is being made obsolete (see #245) and in the new structure (vector_distance functions) the Euclidean version returns the Euclidean distance (and not the squared value).

### Change History (3)

### comment:1 Changed 16 years ago by

Component: | build → statistics |
---|

### comment:2 Changed 16 years ago by

### comment:3 Changed 16 years ago by

Resolution: | → fixed |
---|---|

Status: | new → closed |

**Note:**See TracTickets for help on using tickets.

I agree it is confusing. It guess I based the choice on some speed argument.

I guess when ticket:250 is closed we can close this ticket as well.