boostorg / boostorg/gil

generate_gaussian_kernel and warning C4244: conversion from double to float

Open
#362 2 comments 0 reactions 1 assignee Claimed by @simmplecoder View on GitHub
cat/annoyance ext/numeric
Dominant language
C++
Stars
199
Forks
171
Avg merge
1d 14h
Merged PRs (30d)
10

Description

@simmplecoder Would it be possible to get rid of these warnings?
```
image_processing\numeric.hpp(104): warning C4244: 'initializing': conversion from 'double' to 'float', possible loss of data
image_processing\numeric.hpp(104): warning C4244: 'initializing': conversion from 'double' to 'const float', possible loss of data
```

### Environment

- Compiler version: `_MSC_VER=1922`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.