Comments (1)
Statistics::Mode()
でも同様の問題を確認しました。昔のバージョンの HashTable
向けに書かれていたのが原因です。
v0.6.15 で修正します。ご報告ありがとうございました。
# include <Siv3D.hpp> // Siv3D v0.6.14
void Main()
{
{
Array<double> ar{ 1,1,2,2,3,3,3,4,5,5 };
auto multiMode = Statistics::MultiMode(ar.begin(), ar.end());
Print << multiMode;
}
{
Array<double> ar{ 1,1,2,2,3,3,3,4,5,5 };
auto mode = Statistics::Mode(ar.begin(), ar.end());
Print << mode;
}
while (System::Update())
{
}
}
from opensiv3d.
Related Issues (20)
- giflib を Siv3D 本体ビルドに含める
- CSVのIReaderロードでビルドエラー HOT 1
- Point::length(), lengthSq() を整数オーバーフローしにくい実装にする
- 複数ファイルのドラッグを開始する機能の提案 HOT 1
- Texture から ID3D11Texture2D* を取得する機能
- CUDA と Texture を連係しやすくする CUDATexture クラス
- Platform::Windows::Keyboard::GetEvents() ロック忘れを修正
- boost 1.74 doesn't actually conform to c++20 HOT 4
- FileSytem:: の関数をリソースファイルパスにも使えるようにする HOT 1
- AngelScript 機能の改善の提案 HOT 1
- Parse<double>(U""); で例外ではなく assert になる
- [Windows] 起動時に、必ず実行ファイルのディレクトリをカレントディレクトリにする
- Math::Clamp(Vec2 v,Vec2 min,Vec2 max) HOT 1
- Image::inBounds HOT 1
- プログラムが IDE で実行されているかを取得する関数
- Quadに重心を取得するメンバ関数を追加してほしいです
- 特定箇所をハイライト関数が欲しい HOT 1
- Timer の残り時間(秒)を切り上げて取得する Timer::s_ceil() HOT 1
- OpenAI::Chat / Vision のデフォルトモデルを GPT-4o にする
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opensiv3d.